efi: fix condition for use/efi/dtb

This commit is contained in:
Anton Midyukov 2023-01-03 14:22:54 +07:00
parent 5dff1ae8ca
commit 557d14dc5d

View File

@ -73,7 +73,7 @@ endif
# copy devicetree for default kernel on ESP partition
use/efi/dtb: use/efi; @:
ifeq (distro,$(IMAGE_CLASS))
ifneq (,$(filter-out $(aarch64 riscv64),$(ARCH)))
ifeq (,$(filter-out aarch64 riscv64,$(ARCH)))
@$(call set,GLOBAL_COPY_DTB,1)
@$(call add,EFI_FILES_REPLACE,dtb)
endif