[OE-core] [PATCH 1/2] grub-efi: change to generate EFI image in target package

2013-11-22 Thread jackie.huang
From: Jackie Huang jackie.hu...@windriver.com To generate the target EFI image in a native package, it requires the host gcc have the ability to do -m32/-m64 compiling, but gcc doesn't have that support on the 32bit version of some distributions (e.g. rehl, suse), it would fail when build a 64bit

Re: [OE-core] [PATCH 1/2] grub-efi: change to generate EFI image in target package

2013-11-22 Thread Darren Hart
On Fri, 2013-11-22 at 18:00 +0800, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com To generate the target EFI image in a native package, it requires the host gcc have the ability to do -m32/-m64 compiling, but gcc doesn't have that support on the 32bit version

[OE-core] [PATCH 1/2] grub-efi: change to generate EFI image in target package

2013-11-21 Thread jackie.huang
From: Jackie Huang jackie.hu...@windriver.com To generate the target EFI image in a native package, it requires the host gcc have the ability to do -m32/-m64 compiling, but gcc doesn't have that support on the 32bit version of some distributions (e.g. rehl, suse), it would fail when build a 64bit

Re: [OE-core] [PATCH 1/2] grub-efi: change to generate EFI image in target package

2013-11-21 Thread Darren Hart
On Wed, 2013-11-20 at 09:40 +0800, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com It's not a good idea to generate the target EFI image in a native packge, This was admittedly a hack when I wrote it... it would be a problem when build a 64bit target on

Re: [OE-core] [PATCH 1/2] grub-efi: change to generate EFI image in target package

2013-11-21 Thread jhuang0
On 11/22/2013 10:45 AM, Darren Hart wrote: On Wed, 2013-11-20 at 09:40 +0800, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com It's not a good idea to generate the target EFI image in a native packge, This was admittedly a hack when I wrote it... it would

Re: [OE-core] [PATCH 1/2] grub-efi: change to generate EFI image in target package

2013-11-21 Thread Darren Hart
On Fri, 2013-11-22 at 12:49 +0800, jhuang0 wrote: On 11/22/2013 10:45 AM, Darren Hart wrote: On Wed, 2013-11-20 at 09:40 +0800, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com It's not a good idea to generate the target EFI image in a native packge,

Re: [OE-core] [PATCH 1/2] grub-efi: change to generate EFI image in target package

2013-11-21 Thread jhuang0
On 11/22/2013 1:02 PM, Darren Hart wrote: On Fri, 2013-11-22 at 12:49 +0800, jhuang0 wrote: On 11/22/2013 10:45 AM, Darren Hart wrote: On Wed, 2013-11-20 at 09:40 +0800, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com It's not a good idea to generate the

[OE-core] [PATCH 1/2] grub-efi: change to generate EFI image in target package

2013-11-19 Thread jackie.huang
From: Jackie Huang jackie.hu...@windriver.com It's not a good idea to generate the target EFI image in a native packge, it would be a problem when build a 64bit target on 32bit host. In fact, all we need from grub-efi-native is the grub-mkimage binary, so change the solution to: *