From: Samuel Martin Date: Fri, 16 Jan 2015 18:58:35 +0100 Subject: [Buildroot] [PATCH] bootlader/grub2: disable x86-64-efi choice on !BR2_ARCH_IS_64 Message-ID: <1421431115-5202-1-git-send-email-s.martin49@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 Signed-off-by: Samuel Martin --- boot/grub2/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/grub2/Config.in b/boot/grub2/Config.in index 626344a..c465a4d 100644 --- a/boot/grub2/Config.in +++ b/boot/grub2/Config.in @@ -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. -- 2.1.0