[PATCH 9/9] mips: Add builtin dtb to dtb-y
Sascha Hauer
s.hauer at pengutronix.de
Thu Jun 5 01:23:44 PDT 2014
Otherwise a rebuild of the dtb file is triggered each build.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/mips/dts/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile
index 3ee8924..348b814 100644
--- a/arch/mips/dts/Makefile
+++ b/arch/mips/dts/Makefile
@@ -1,6 +1,8 @@
-BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME)).dtb.o
-obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB)
+BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME))
+obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o
+
+dtb-y += ${BUILTIN_DTB}.dtb
targets += dtbs
targets += $(dtb-y)
--
2.0.0.rc2
More information about the barebox
mailing list