[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New x86_64 EFI patch
From: |
Bean |
Subject: |
Re: [PATCH] New x86_64 EFI patch |
Date: |
Thu, 17 Jul 2008 23:26:02 +0800 |
On Thu, Jul 17, 2008 at 11:22 PM, Pavel Roskin <address@hidden> wrote:
> On Thu, 2008-07-17 at 17:02 +0200, Javier Martín wrote:
>> El jue, 17-07-2008 a las 17:50 +0800, Bean escribió:
>> > Committed.
>> >
>> Seemingly, the fact that there is now separate recognition for "x86_64"
>> machine types has borked the current build system in amd64 PCs:
>>
>> $ make
>> ./config.status --recheck
>> running CONFIG_SHELL=/bin/bash /bin/bash ../src/configure
>> --prefix=/home/javier/Proyectos/grub/build/out/ --no-create
>> --no-recursion
>> 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
>> configure: error: unsupported machine type
>> make: *** [config.status] Error 1
>
> I've just noticed that. I think x86_64 should default to "i386-pc"
> platform. I'll have a look how to do it nicely.
I have the following in configure.ac:
if test "x$platform" = "xefi" ; then
case "$target_cpu" in
i386) ;;
x86_64) target_m64=1 ;;
*) AC_MSG_ERROR([unsupported CPU type for EFI]) ;;
esac
else
case "$target_cpu" in
i386) ;;
x86_64) target_cpu=i386 target_m32=1 ;;
powerpc) ;;
powerpc64) target_cpu=powerpc target_m32=1;;
sparc64) ;;
*) AC_MSG_ERROR([unsupported CPU type]) ;;
esac
fi
If platform is not efi, x86_64 will become i386, perhaps there is
something I miss ?
--
Bean
- Re: [PATCH] New x86_64 EFI patch, (continued)
- Re: [PATCH] New x86_64 EFI patch, Robert Millan, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Robert Millan, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Javier Martín, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Pavel Roskin, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Pavel Roskin, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch,
Bean <=
- Re: [PATCH] New x86_64 EFI patch, Javier Martín, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Javier Martín, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Pavel Roskin, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Pavel Roskin, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Javier Martín, 2008/07/17
- generic BIOS-less boot (Re: [PATCH] New x86_64 EFI patch), Robert Millan, 2008/07/19
- Re: [PATCH] New x86_64 EFI patch, Robert Millan, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/12