summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2021-02-24 04:53:40 +0000
committerPetr Štetiar <ynezz@true.cz>2023-06-02 11:36:12 +0200
commit8f29b1573ddf3b7ed7c53bee1a7d55e574806205 (patch)
tree5b38f1bce7a4a530191d0f4ee13165da8efc1a1f /config
parent97c5d317f59e071c9f691add5748a74a75665038 (diff)
downloadopenwrt-8f29b1573ddf3b7ed7c53bee1a7d55e574806205.tar.gz
openwrt-8f29b1573ddf3b7ed7c53bee1a7d55e574806205.tar.bz2
openwrt-8f29b1573ddf3b7ed7c53bee1a7d55e574806205.zip
grub2: enable EFI for armvirt
This adds a separate package for EFI on Arm SystemReady compatible machines. 32-bit Arm UEFI is supported as well. It is very similar to x86-64 EFI setup, without the need for BIOS backward compatibility and slightly different default modules. Signed-off-by: Mathew McBride <matt@traverse.com.au>
Diffstat (limited to 'config')
-rw-r--r--config/Config-images.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/config/Config-images.in b/config/Config-images.in
index 8c4616f37c..cbf1e9f26d 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -204,11 +204,12 @@ menu "Target Images"
config GRUB_EFI_IMAGES
bool "Build GRUB EFI images (Linux x86 or x86_64 host only)"
- depends on TARGET_x86
+ depends on TARGET_x86 || TARGET_armvirt
depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
- select PACKAGE_grub2
- select PACKAGE_grub2-efi
- select PACKAGE_grub2-bios-setup
+ select PACKAGE_grub2 if TARGET_x86
+ select PACKAGE_grub2-efi if TARGET_x86
+ select PACKAGE_grub2-bios-setup if TARGET_x86
+ select PACKAGE_grub2-efi-arm if TARGET_armvirt
select PACKAGE_kmod-fs-vfat
default y