Commit 329ef356 authored by Anton Midyukov's avatar Anton Midyukov

efi: add use/efi/dtb for copy devicetree for default kernel to ESP partition

parent a9ded39b
......@@ -66,3 +66,12 @@ use/efi use/efi/signed use/efi/debug use/efi/grub use/efi/lilo \
use/efi/refind use/efi/shell use/efi/memtest86: use/isohybrid; @:
endif
# copy devicetree for default kernel on ESP partition
use/efi/dtb: use/efi; @:
ifeq (distro,$(IMAGE_CLASS))
ifneq (,$(filter-out $(aarch64 riscv64),$(ARCH)))
@$(call set,GLOBAL_COPY_DTB,1)
@$(call add,EFI_FILES_REPLACE,dtb)
endif
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment