summaryrefslogtreecommitdiffstats
path: root/boot/syslinux/Config.in
diff options
context:
space:
mode:
authorBenoît Allard <benoit.allard@greenbone.net>2016-03-17 09:09:16 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-18 23:41:37 +0200
commit3177e74c8fb62c73717cece440902c1cb0b1243f (patch)
tree522e779060f0877a3189f41ff414037565724a66 /boot/syslinux/Config.in
parent6cb4814c87cb1282b4a1d35e73743e8dd1b12ec5 (diff)
downloadbuildroot-3177e74c8fb62c73717cece440902c1cb0b1243f.tar.gz
buildroot-3177e74c8fb62c73717cece440902c1cb0b1243f.zip
syslinux: Allow to build multiple flavors simultaneously
This becomes handy when building hybrid images that needs to be able to boot in MBR and GPT mode. Signed-off-by: Benoît Allard <benoit.allard@greenbone.net> Tested-by: Matt Weber <matt@thewebers.ws> Reviewed-by: Matt Weber <matt@thewebers.ws> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/syslinux/Config.in')
-rw-r--r--boot/syslinux/Config.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/boot/syslinux/Config.in b/boot/syslinux/Config.in
index f4b987021f..6067e9ceb3 100644
--- a/boot/syslinux/Config.in
+++ b/boot/syslinux/Config.in
@@ -2,6 +2,11 @@ config BR2_TARGET_SYSLINUX
bool "syslinux"
depends on BR2_i386 || BR2_x86_64
select BR2_HOSTARCH_NEEDS_IA32_COMPILER
+ # 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
help
The syslinux bootloader for x86 systems.
This includes: syslinux, pxelinux, extlinux.
@@ -13,25 +18,22 @@ if BR2_TARGET_SYSLINUX
config BR2_TARGET_SYSLINUX_LEGACY_BIOS
bool
-choice
- bool "Image to install"
-
config BR2_TARGET_SYSLINUX_ISOLINUX
- bool "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 "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 "mbr"
+ bool "install mbr"
select BR2_TARGET_SYSLINUX_LEGACY_BIOS
help
Install the legacy-BIOS 'mbr' image, to boot off a
@@ -39,12 +41,11 @@ config BR2_TARGET_SYSLINUX_MBR
or 'syslinux').
config BR2_TARGET_SYSLINUX_EFI
- bool "efi"
+ bool "install efi"
select BR2_PACKAGE_GNU_EFI
help
Install the 'efi' image, to boot from an EFI environment.
-endchoice
if BR2_TARGET_SYSLINUX_LEGACY_BIOS
OpenPOWER on IntegriCloud