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

Commit 21f4c5cd authored by Srinivas Ramana's avatar Srinivas Ramana Committed by Jeevan Shriram
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>
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent fbfce645
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -970,5 +970,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
+16 −0
Original line number Diff line number Diff line



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