В Mon, 29 Dec 2014 19:22:42 +0100
[email protected] пишет:

> Hi,
> 
> 
> I use grub from debian on my tablet and it works fine (altough it need 
> external keyboard to select menu entries).
> 
> I'm trying to recompile grub-1.99 from debian source. I'd like add 
> tablet keys up/down to select grub menu items.
> 
> 
> 
> I made my changes to grub-core/menu.c and I done:
> 
> ./configure --disable-werror
> 
> output ends with:
> 
> *******************************************************
> GRUB2 will be compiled with following components:
> Platform: i386-pc

This is default platform on x86 (legacy BIOS). 

> With devmapper support: No (need libdevmapper header)
> With memory debugging: No
> efiemu runtime: Yes
> grub-mkfont: No (need freetype2 library)
> *******************************************************
> 
> but debian original file
> /boot/grub/normal.mod: ELF 64-bit LSB relocatable, x86-64, version 1 
> (SYSV), not stripped
> 
> 
> I executed make (for test) and normal.mod was 32bit. Grub failed to start.
> 
> 
> 
> I tryed:
> 
> ./configure --with-platform=x86_64-pc --disable-werror
> 

This does not exist. "pc" platform is always 32 bit, so only i386-pc is
available. Also your subject says "EFI" so you probably want

--with-platform=efi

It will default to 64 bit if you build on 64 bit system.

> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> configure: error: platform "x86_64-pc" is not supported for target CPU 
> "i386"
> 
> 
> I also tried ftp://ftp.gnu.org/gnu/grub/grub-2.00.tar.xz with the same 
> results.
> 
> 
> How can I configure grub soure for x86_64?
> 
> 
> Thanks in advance
> 
> 
> 
> 
> _______________________________________________
> Help-grub mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-grub


_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to