buildroot/boot
Benoît Allard 6e432d5ecb 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>
2017-04-08 16:07:49 +02:00
..
afboot-stm32 afboot-stm32: use the Buildroot toolchain 2016-04-16 12:43:16 +02:00
arm-trusted-firmware boot, package: use SPDX short identifier for BSD-3c 2017-04-01 15:26:57 +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 boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+ 2017-04-01 15:16:38 +02:00
boot-wrapper-aarch64 boot-wrapper-aarch64: update upstream repository 2016-11-16 12:24:19 +01:00
grub boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+ 2017-04-01 15:16:38 +02:00
grub2 boot, package: use SPDX short identifier for GPLv3/GPLv3+ 2017-04-01 15:17:59 +02:00
gummiboot boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+ 2017-04-01 15:18:10 +02:00
lpc32xxcdl Normalize separator size to 80 2013-06-07 10:54:54 +02:00
mxs-bootlets boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+ 2017-04-01 15:16:38 +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-08 16:07:49 +02:00
ts4800-mbrboot boot, package: use SPDX short identifier for BSD-2c 2017-04-01 15:27:05 +02:00
uboot uboot: qstrip BR2_TARGET_UBOOT_CUSTOM_DTS_PATH 2017-04-08 15:29:01 +02:00
vexpress-firmware vexpress-firmware: new package 2016-10-15 12:35:28 +02:00
xloader boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+ 2017-04-01 15:16:38 +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