42638a1d12
Since [1] syslinux is built with the target toolchain in order to
properly build with gnu-efi package. But toolchains built with
binutils 2.26 break the syslinux legacy-BIOS build as reported at [2],
due to binutils bug #19615.
Thanks to Benoît Allard for the investigation and the link to the
binutils bug [3].
[1] 6e432d5ecb
[2] http://lists.busybox.net/pipermail/buildroot/2017-July/196253.html
[3] https://sourceware.org/bugzilla/show_bug.cgi?id=19615
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
63 lines
1.6 KiB
Plaintext
63 lines
1.6 KiB
Plaintext
config BR2_TARGET_SYSLINUX
|
|
bool "syslinux"
|
|
depends on BR2_i386 || BR2_x86_64
|
|
# Make sure at least one of the flavors is installed
|
|
select BR2_TARGET_SYSLINUX_ISOLINUX \
|
|
if !BR2_TARGET_SYSLINUX_PXELINUX && \
|
|
!BR2_TARGET_SYSLINUX_MBR && \
|
|
!BR2_TARGET_SYSLINUX_EFI
|
|
select BR2_PACKAGE_UTIL_LINUX
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
|
help
|
|
The syslinux bootloader for x86 systems.
|
|
This includes: syslinux, pxelinux, extlinux.
|
|
|
|
http://syslinux.org
|
|
|
|
if BR2_TARGET_SYSLINUX
|
|
|
|
config BR2_TARGET_SYSLINUX_LEGACY_BIOS
|
|
bool
|
|
|
|
config BR2_TARGET_SYSLINUX_ISOLINUX
|
|
bool "install isolinux"
|
|
select BR2_TARGET_SYSLINUX_LEGACY_BIOS
|
|
help
|
|
Install the legacy-BIOS 'isolinux' image, to boot off
|
|
optical media (CDROM, DVD.)
|
|
|
|
config BR2_TARGET_SYSLINUX_PXELINUX
|
|
bool "install pxelinux"
|
|
select BR2_TARGET_SYSLINUX_LEGACY_BIOS
|
|
help
|
|
Install the legacy-BIOS 'pxelinux' image, to boot off
|
|
the network using PXE.
|
|
|
|
config BR2_TARGET_SYSLINUX_MBR
|
|
bool "install mbr"
|
|
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19615
|
|
select BR2_TARGET_SYSLINUX_LEGACY_BIOS
|
|
help
|
|
Install the legacy-BIOS 'mbr' image, to boot off a
|
|
local MBR-partition (e.g. prepared with 'extlinux'
|
|
or 'syslinux').
|
|
|
|
config BR2_TARGET_SYSLINUX_EFI
|
|
bool "install efi"
|
|
select BR2_PACKAGE_GNU_EFI
|
|
help
|
|
Install the 'efi' image, to boot from an EFI environment.
|
|
|
|
|
|
if BR2_TARGET_SYSLINUX_LEGACY_BIOS
|
|
|
|
config BR2_TARGET_SYSLINUX_C32
|
|
string "modules to install"
|
|
help
|
|
Enter a space-separated list of .c32 modules to install.
|
|
Leave empty to install no module.
|
|
|
|
endif # BR2_TARGET_SYSLINUX_LEGACY_BIOS
|
|
|
|
endif # BR2_TARGET_SYSLINUX
|