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: Srinivas Ramana <sramana@codeaurora.org>
This commit is contained in:
parent
96315acfc1
commit
2f17079bfb
2 changed files with 17 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -118,6 +118,16 @@ dtb-$(CONFIG_ARCH_MSMHAMSTER) += msmhamster-rumi.dtb
|
|||
|
||||
dtb-$(CONFIG_ARCH_MSMFALCON) += msmfalcon-sim.dtb
|
||||
|
||||
always := $(dtb-y)
|
||||
subdir-y := $(dts-dirs)
|
||||
clean-files := *.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
|
||||
|
|
Loading…
Add table
Reference in a new issue