[Buildroot] [PATCH 11/15] grub2: add new package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Dec 2 08:35:25 UTC 2013
Dear Peter Korsgaard,
On Sun, 01 Dec 2013 23:49:25 +0100, Peter Korsgaard wrote:
> > diff --git a/boot/Config.in b/boot/Config.in
> > index eb5f7cd..71d2fbd 100644
> > --- a/boot/Config.in
> > +++ b/boot/Config.in
> > @@ -6,6 +6,7 @@ source "boot/at91dataflashboot/Config.in"
> > source "boot/barebox/Config.in"
> > source "boot/boot-wrapper-aarch64/Config.in"
> > source "boot/grub/Config.in"
> > +source "boot/grub2/Config.in"
> > source "boot/lpc32xxcdl/Config.in"
> > source "boot/mxs-bootlets/Config.in"
> > source "boot/syslinux/Config.in"
> > diff --git a/boot/grub2/Config.in b/boot/grub2/Config.in
> > new file mode 100644
> > index 0000000..e59626a
> > --- /dev/null
> > +++ b/boot/grub2/Config.in
> > @@ -0,0 +1,120 @@
> > +config BR2_TARGET_GRUB2
> > + bool "grub2"
> > + depends on BR2_i386 || BR2_x86_64
>
> Doesn't grub2 also need BR2_HOSTARCH_NEEDS_IA32_COMPILER?
From what I've tested, no it doesn't. I believe this is because grub
legacy needed libgcc, while grub2 doesn't need libgcc, so you don't
need a multilib compiler: a non-multilib x86-64 gcc can generate 32 bits
code, but doesn't provide a 32 bits libgcc.
I can do another testing if needed, just to validate this once more
(it's been a while since I did this, and I may have overlooked
something).
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list