summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/boot
diff options
context:
space:
mode:
authorMax Filippov2012-12-10 22:26:21 +0100
committerChris Zankel2012-12-19 06:10:26 +0100
commit055d4db1e1ef6f983c3565110fbe6737087e9103 (patch)
tree9d9e95f8a494b06dd04d959fc8c6a125eae96533 /arch/xtensa/boot
parentxtensa: set the correct ethernet address for xtfpga (diff)
downloadkernel-qcow2-linux-055d4db1e1ef6f983c3565110fbe6737087e9103.tar.gz
kernel-qcow2-linux-055d4db1e1ef6f983c3565110fbe6737087e9103.tar.xz
kernel-qcow2-linux-055d4db1e1ef6f983c3565110fbe6737087e9103.zip
xtensa: don't try to build DTB when OF is disabled
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/boot')
-rw-r--r--arch/xtensa/boot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile
index 196bc3c967af..818647e815d7 100644
--- a/arch/xtensa/boot/Makefile
+++ b/arch/xtensa/boot/Makefile
@@ -28,7 +28,7 @@ bootdir-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += boot-redboot boot-elf boot-uboot
BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o
ifneq ($(CONFIG_BUILTIN_DTB),"")
-obj-y += $(BUILTIN_DTB)
+obj-$(CONFIG_OF) += $(BUILTIN_DTB)
endif
# Rule to build device tree blobs