summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-06-05 10:21:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-05 10:21:42 +0200
commit13eb0229c1367106e1407ff17d5a5b62a696999e (patch)
tree4d0f4fe814ad5f924dfcaaacae02c124eb8a4077 /arch/mips
parent68ad2e4daa1202a7e74d506d1d7a574414905252 (diff)
downloadbarebox-13eb0229c1367106e1407ff17d5a5b62a696999e.tar.gz
barebox-13eb0229c1367106e1407ff17d5a5b62a696999e.tar.xz
mips: Add builtin dtb to dtb-y
Otherwise a rebuild of the dtb file is triggered each build. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile
index 3ee89247e0..348b81426b 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)