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:
parent
4373afc42a
commit
21930e538f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue