diff options
| author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2019-01-12 17:32:58 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2019-01-12 17:34:22 +0100 |
| commit | 8064b12ff9d0a28091513e338d0f5b59a95d1396 (patch) | |
| tree | 618de4cf6dd7e436180eaa37ab4cf915ff499897 /package | |
| parent | 1a437fd22f4fc357afafa1eb06f4bd17b9540491 (diff) | |
| download | buildroot-8064b12ff9d0a28091513e338d0f5b59a95d1396.tar.gz buildroot-8064b12ff9d0a28091513e338d0f5b59a95d1396.zip | |
package/gnu-efi: introduce BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS option
This will be used in packages that depend on gnu-efi, and we take this
opportunity to propagate this dependency where it was missing in
gummiboot and syslinux. In practice, it was not a problem because
gummiboot and syslinux are only available on i386 and x86-64, which is
a subset of the architectures supported by gnu-efi.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
| -rw-r--r-- | package/gnu-efi/Config.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/package/gnu-efi/Config.in b/package/gnu-efi/Config.in index d8d92c2c17..d456a23837 100644 --- a/package/gnu-efi/Config.in +++ b/package/gnu-efi/Config.in @@ -1,7 +1,14 @@ +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 |

