aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/metag/boot/dts/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/metag/boot/dts/Makefile b/arch/metag/boot/dts/Makefile
index e0b5afd8bde8..dbd95217733a 100644
--- a/arch/metag/boot/dts/Makefile
+++ b/arch/metag/boot/dts/Makefile
@@ -4,13 +4,17 @@ dtb-y += skeleton.dtb
4builtindtb-y := skeleton 4builtindtb-y := skeleton
5 5
6ifneq ($(CONFIG_METAG_BUILTIN_DTB_NAME),"") 6ifneq ($(CONFIG_METAG_BUILTIN_DTB_NAME),"")
7 builtindtb-y := $(CONFIG_METAG_BUILTIN_DTB_NAME) 7 builtindtb-y := $(patsubst "%",%,$(CONFIG_METAG_BUILTIN_DTB_NAME))
8endif 8endif
9obj-$(CONFIG_METAG_BUILTIN_DTB) += $(patsubst "%",%,$(builtindtb-y)).dtb.o 9
10dtb-$(CONFIG_METAG_BUILTIN_DTB) += $(builtindtb-y).dtb
11obj-$(CONFIG_METAG_BUILTIN_DTB) += $(builtindtb-y).dtb.o
10 12
11targets += dtbs 13targets += dtbs
12targets += $(dtb-y) 14targets += $(dtb-y)
13 15
16.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
17
14dtbs: $(addprefix $(obj)/, $(dtb-y)) 18dtbs: $(addprefix $(obj)/, $(dtb-y))
15 19
16clean-files += *.dtb 20clean-files += *.dtb *.dtb.S