kumquat-buildroot/boot
Benoît Allard 18fc71357b syslinux: build with the target toolchain
Until now, the host toolchain was used to build syslinux, as it was
not possible to build a 32-bit syslinux with a x86-64 toolchain.

However, syslinux requires gnu-efi, and gnu-efi is built using the
target toolchain. Mixing different toolchains doesn't work well, so
this commit changes the syslinux package to use the target toolchain
for syslinux as well. This is made possible by patches
0003-Fix-ldlinux.elf-Not-enough-room-for-program-headers-.patch and
0004-memdisk-Force-ld-output-format-to-32-bits.patch.

Since syslinux also contains some utilities that have to run on the
host, those have to continue being built with the host toolchain,
which requires patch 0005-utils-Use-the-host-toolchain-to-build.patch.

Patch 0006-lzo-Use-the-host-toolchain-for-prepcore.patch is about
building prepcore, another utility with the host toolchain as it is
required at build-time.

This was tested using a Buildroot's built x86_64 toolchain, and
checked that the output binaries are 32-bits. It was tested as well if
they actually boot on hardware.

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 6e432d5ecb)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-04-24 11:48:21 +02:00
..
afboot-stm32 afboot-stm32: use the Buildroot toolchain 2016-04-16 12:43:16 +02:00
arm-trusted-firmware arm-trusted-firmware: new package 2016-10-15 14:13:34 +02:00
at91bootstrap package/at91bootstrap: add hash file 2016-06-19 21:10:16 +02:00
at91bootstrap3 boot/at91bootstrap3: bump to version 3.8.6 2016-09-23 08:05:57 +02:00
at91dataflashboot package/at91dataflashboot: add hash file 2016-06-19 21:11:25 +02:00
barebox barebox: bump to version 2017.01.0 2017-01-19 13:02:38 +11:00
boot-wrapper-aarch64 boot-wrapper-aarch64: update upstream repository 2016-11-16 12:24:19 +01:00
grub boot/grub: add rootwait to default config 2016-03-10 22:29:36 +01:00
grub2 grub2: fix build with BR2_STRIP_none 2016-07-31 20:19:40 +02:00
gummiboot package: fix reverse dependencies of util-linux 2017-01-28 21:02:51 +13:00
lpc32xxcdl
mxs-bootlets package/mxs-bootlets: add hash file 2016-06-19 21:54:20 +02:00
s500-bootloader boot: add s500-bootloader package 2016-05-26 10:35:34 +02:00
syslinux syslinux: build with the target toolchain 2017-04-24 11:48:21 +02:00
ts4800-mbrboot boot: add ts4800-mbrboot package 2016-07-15 23:15:12 +02:00
uboot boot/uboot: bump to version 2017.01 2017-01-09 21:14:19 +01:00
vexpress-firmware vexpress-firmware: new package 2016-10-15 12:35:28 +02:00
xloader packages: refactor checks using BR_BUILDING 2015-04-26 21:43:25 +02:00
common.mk Fix build reproducibility in Make 3.82 2013-09-06 23:27:42 +02:00
Config.in arm-trusted-firmware: new package 2016-10-15 14:13:34 +02:00