diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-27 15:53:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-27 17:14:41 +0100 |
commit | 21930e538f07c0a3eabf49a928fac828b363fc62 (patch) | |
tree | d15cbafef617b50191074fba45f7560f1593cf26 /arch | |
parent | 4373afc42a4c9d3ce8f918266f24e1e541a6aa67 (diff) | |
download | barebox-21930e538f07c0a3eabf49a928fac828b363fc62.tar.gz barebox-21930e538f07c0a3eabf49a928fac828b363fc62.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index d8160feb3b..49c3eea4ac 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. |