Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 055d4db1 authored by Max Filippov's avatar Max Filippov Committed by Chris Zankel
Browse files

xtensa: don't try to build DTB when OF is disabled



Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent 33c760fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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