mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
package/gnu-efi: only supported on MMU-capable platforms
Since commit
1f7c581454 ("package/gnu-efi: enable on
RISC-V 64-bit"), we allow building on RISC-V... and that includes
noMMU RISC-V. This unfortunately fails badly with:
/home/autobuild/autobuild/instance-2/output-1/host/bin/../riscv64-buildroot-linux-uclibc/bin/ld.real: unrecognized option '-Wl,-elf2flt=-r'
/home/autobuild/autobuild/instance-2/output-1/host/bin/../riscv64-buildroot-linux-uclibc/bin/ld.real: use the --help option for usage information
Since we're anyway not interested in gnu-efi on noMMU platforms, let's
not even spend time on trying to fix this and make MMU support a
requirement for gnu-efi.
Fixes:
http://autobuild.buildroot.net/results/8b4a503939bdbe773ceee69e01a3ea16873a75fa/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
308d2c9927
commit
c58abf42c0
@@ -5,6 +5,7 @@ config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS
|
|||||||
default y if BR2_aarch64
|
default y if BR2_aarch64
|
||||||
default y if BR2_i386
|
default y if BR2_i386
|
||||||
default y if BR2_x86_64
|
default y if BR2_x86_64
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
|
||||||
config BR2_PACKAGE_GNU_EFI
|
config BR2_PACKAGE_GNU_EFI
|
||||||
bool "gnu-efi"
|
bool "gnu-efi"
|
||||||
|
|||||||
Reference in New Issue
Block a user