[PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty

Sascha Hauer s.hauer at pengutronix.de
Thu Nov 27 08:15:22 PST 2014


Normally this is a configuration error, but it helps building
randconfigs.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/dts/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index d8160fe..49c3eea 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -1,5 +1,7 @@
 BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME))
+ifneq ($(BUILTIN_DTB),)
 obj-dtb-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o
+endif
 
 # just to build a built-in.o. Otherwise compilation fails when no devicetree is
 # created.
-- 
2.1.3




More information about the barebox mailing list