Commit fcc8d123 authored by Samuel Martin's avatar Samuel Martin Committed by Thomas Petazzoni
Browse files

bootlader/grub2: disable x86-64-efi choice on !BR2_ARCH_IS_64



When x86-64-efi platform is selected, grub2 automatically adds -m64 to the
CFLAGS. This makes the configure script failed when the toolchain does not
have multilib support (like the Buildroot ones).

Reported-by: default avatarNoe Rubinstein <nrubinstein@aldebaran-robotics.com>
Signed-off-by: default avatarSamuel Martin <s.martin49@gmail.com>
Acked-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 6ae6417a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -132,6 +132,7 @@ config BR2_TARGET_GRUB2_I386_EFI

config BR2_TARGET_GRUB2_X86_64_EFI
	bool "x86-64-efi"
	depends on BR2_ARCH_IS_64
	help
	  Select this option if the platform you're targetting has a
	  64 bits EFI BIOS.