9
0
Fork 0

ARM: dts: only build internal dtb when the name is not empty

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

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2014-11-27 15:53:24 +01:00
parent 4373afc42a
commit 21930e538f
1 changed files with 2 additions and 0 deletions

View File

@ -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.