[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Grub2 efi compiling
From: |
nutrinfnon |
Subject: |
Grub2 efi compiling |
Date: |
Mon, 29 Dec 2014 19:22:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
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
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
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
- Grub2 efi compiling,
nutrinfnon <=