summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Makefile
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-12-10 22:26:21 +0100
committerChris Zankel <chris@zankel.net>2012-12-19 06:10:26 +0100
commit055d4db1e1ef6f983c3565110fbe6737087e9103 (patch)
tree9d9e95f8a494b06dd04d959fc8c6a125eae96533 /arch/xtensa/Makefile
parentxtensa: set the correct ethernet address for xtfpga (diff)
downloadlinux-055d4db1e1ef6f983c3565110fbe6737087e9103.tar.xz
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/Makefile')
-rw-r--r--arch/xtensa/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile
index 4276721f5ae1..0aa72702f179 100644
--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -88,7 +88,7 @@ core-y += $(buildvar) $(buildplf)
libs-y += arch/xtensa/lib/ $(LIBGCC)
ifneq ($(CONFIG_BUILTIN_DTB),"")
-core-y += arch/xtensa/boot/
+core-$(CONFIG_OF) += arch/xtensa/boot/
endif
boot := arch/xtensa/boot