aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/xtensa/Makefile2
-rw-r--r--arch/xtensa/boot/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile
index 4276721f5ae..0aa72702f17 100644
--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -88,7 +88,7 @@ core-y += $(buildvar) $(buildplf)
88libs-y += arch/xtensa/lib/ $(LIBGCC) 88libs-y += arch/xtensa/lib/ $(LIBGCC)
89 89
90ifneq ($(CONFIG_BUILTIN_DTB),"") 90ifneq ($(CONFIG_BUILTIN_DTB),"")
91core-y += arch/xtensa/boot/ 91core-$(CONFIG_OF) += arch/xtensa/boot/
92endif 92endif
93 93
94boot := arch/xtensa/boot 94boot := arch/xtensa/boot
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile
index 196bc3c967a..818647e815d 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
28 28
29BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o 29BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o
30ifneq ($(CONFIG_BUILTIN_DTB),"") 30ifneq ($(CONFIG_BUILTIN_DTB),"")
31obj-y += $(BUILTIN_DTB) 31obj-$(CONFIG_OF) += $(BUILTIN_DTB)
32endif 32endif
33 33
34# Rule to build device tree blobs 34# Rule to build device tree blobs