diff --git a/package/gnu-efi/Config.in b/package/gnu-efi/Config.in index 982102faa5..d8d92c2c17 100644 --- a/package/gnu-efi/Config.in +++ b/package/gnu-efi/Config.in @@ -1,9 +1,10 @@ config BR2_PACKAGE_GNU_EFI bool "gnu-efi" - depends on BR2_i386 || BR2_x86_64 + depends on BR2_ARM_CPU_HAS_ARM || BR2_aarch64 || \ + BR2_aarch64_be || BR2_i386 || BR2_x86_64 help - Develop EFI applications for IA-64 (IPF), IA-32 (x86), and - x86_64 platforms using the GNU toolchain and the EFI - development environment. + Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 + (IPF), IA-32 (x86), and MIPS platforms using the GNU toolchain + and the EFI development environment. http://gnu-efi.sourceforge.net/ diff --git a/package/gnu-efi/gnu-efi.mk b/package/gnu-efi/gnu-efi.mk index 22225836c2..274160d1c2 100644 --- a/package/gnu-efi/gnu-efi.mk +++ b/package/gnu-efi/gnu-efi.mk @@ -20,6 +20,10 @@ ifeq ($(BR2_i386),y) GNU_EFI_PLATFORM = ia32 else ifeq ($(BR2_x86_64),y) GNU_EFI_PLATFORM = x86_64 +else ifeq ($(BR2_arm)$(BR2_armeb),y) +GNU_EFI_PLATFORM = arm +else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) +GNU_EFI_PLATFORM = aarch64 endif define GNU_EFI_BUILD_CMDS