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>
This commit is contained in:
Родитель
33c760fbb7
Коммит
055d4db1e1
|
@ -88,7 +88,7 @@ core-y += $(buildvar) $(buildplf)
|
||||||
libs-y += arch/xtensa/lib/ $(LIBGCC)
|
libs-y += arch/xtensa/lib/ $(LIBGCC)
|
||||||
|
|
||||||
ifneq ($(CONFIG_BUILTIN_DTB),"")
|
ifneq ($(CONFIG_BUILTIN_DTB),"")
|
||||||
core-y += arch/xtensa/boot/
|
core-$(CONFIG_OF) += arch/xtensa/boot/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
boot := arch/xtensa/boot
|
boot := arch/xtensa/boot
|
||||||
|
|
|
@ -28,7 +28,7 @@ bootdir-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += boot-redboot boot-elf boot-uboot
|
||||||
|
|
||||||
BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o
|
BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o
|
||||||
ifneq ($(CONFIG_BUILTIN_DTB),"")
|
ifneq ($(CONFIG_BUILTIN_DTB),"")
|
||||||
obj-y += $(BUILTIN_DTB)
|
obj-$(CONFIG_OF) += $(BUILTIN_DTB)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Rule to build device tree blobs
|
# Rule to build device tree blobs
|
||||||
|
|
Загрузка…
Ссылка в новой задаче