Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f17079b authored by Srinivas Ramana's avatar Srinivas Ramana Committed by Kyle Yan
Browse files

ARM: dts: Make sure to add the dts files to compilation target



Add the dts files to the compilation target when compiling
for arm.

Change-Id: I3146989f6e73bfe101ac9363428bd0beecd09c32
Signed-off-by: default avatarSrinivas Ramana <sramana@codeaurora.org>
parent 96315acf
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -768,7 +768,6 @@ dtb-$(CONFIG_MACH_DOVE) += \
	dove-cubox-es.dtb \
	dove-d2plug.dtb \
	dove-d3plug.dtb \
<<<<<<< HEAD
	dove-dove-db.dtb \
	dove-sbc-a510.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += \
@@ -806,5 +805,9 @@ endif
targets += dtbs dtbs_install
targets += $(DTB_LIST)

ifeq ($(CONFIG_ARM64),y)
always		:= $(DTB_LIST)
else
dtbs: $(addprefix $(obj)/, $(DTB_LIST))
endif
clean-files	:= *.dtb
+13 −3
Original line number Diff line number Diff line
@@ -118,6 +118,16 @@ dtb-$(CONFIG_ARCH_MSMHAMSTER) += msmhamster-rumi.dtb

dtb-$(CONFIG_ARCH_MSMFALCON) += msmfalcon-sim.dtb

ifeq ($(CONFIG_ARM64),y)
always          := $(dtb-y)
subdir-y        := $(dts-dirs)
else
targets += dtbs
targets += $(addprefix ../, $(dtb-y))

$(obj)/../%.dtb: $(src)/%.dts FORCE
	$(call if_changed_dep,dtc)

dtbs: $(addprefix $(obj)/../,$(dtb-y))
endif
clean-files := *.dtb