[Buildroot] [PATCH v3 1/5] grub2: separate target and host builds

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Nov 26 21:02:09 UTC 2018


On Thu, 27 Sep 2018 00:37:15 +0200, Erico Nunes wrote:
> grub2 requires the host grub2-mkimage tool to build some of its target
> images. The current way of building this tool in the grub2 package is to
> perform a simultaneous host-tools/target-bootloader build during the
> grub2 build step.
> This method makes the recipe complex to understand, and proved to be a
> complication during work to enable grub2 support for other architectures
> than x86.
> This patch tries to do a better separation between the build of grub2
> host tools and target boot loader image, as a partial step to enable
> grub2 to build for other architectures.
> Signed-off-by: Erico Nunes <nunes.erico at gmail.com>
> ---
>  boot/grub2/grub2.mk | 48 +++++++++++++++++++++++----------------------
>  1 file changed, 25 insertions(+), 23 deletions(-)

Applied to next, thanks.

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list