bootlader/grub2: disable x86-64-efi choice on !BR2_ARCH_IS_64
authorSamuel Martin <s.martin49@gmail.com>
Fri, 16 Jan 2015 17:58:35 +0000 (18:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 3 Feb 2015 11:05:53 +0000 (12:05 +0100)
commitfcc8d123ea18dfbe41800ffd84a864b9ce9ff10e
tree8f9b6c72970f2ee453a65a2c72f6e28d856ba0de
parent6ae6417af349771b11c72a5bb68aa23409f352c4
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: Noe Rubinstein <nrubinstein@aldebaran-robotics.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/grub2/Config.in