config BR2_TARGET_GUMMIBOOT
bool "gummiboot"
depends on BR2_i386 || BR2_x86_64
+ depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS
select BR2_PACKAGE_GNU_EFI
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
config BR2_TARGET_SYSLINUX_EFI
bool "install efi"
+ depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS
select BR2_PACKAGE_GNU_EFI
help
Install the 'efi' image, to boot from an EFI environment.
+config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS
+ bool
+ default y if BR2_ARM_CPU_HAS_ARM
+ default y if BR2_aarch64
+ default y if BR2_aarch64_be
+ default y if BR2_i386
+ default y if BR2_x86_64
+
config BR2_PACKAGE_GNU_EFI
bool "gnu-efi"
- depends on BR2_ARM_CPU_HAS_ARM || BR2_aarch64 || \
- BR2_aarch64_be || BR2_i386 || BR2_x86_64
+ depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS
help
Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64
(IPF), IA-32 (x86), and MIPS platforms using the GNU toolchain