aboutsummaryrefslogtreecommitdiff
path: root/boot/syslinux
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-05-02 19:10:29 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-03 21:35:41 +0200
commit0b0eebe96113c75ca8c5ee43fdbf8ebb15e4b39d (patch)
tree48495f074303dc0ce1f21d8ea724790f0b0b4c8d /boot/syslinux
parent8b8f9004f475d29c14347af3764dd766417e0ee9 (diff)
downloadbuildroot-0b0eebe96113c75ca8c5ee43fdbf8ebb15e4b39d.tar.gz
buildroot-0b0eebe96113c75ca8c5ee43fdbf8ebb15e4b39d.tar.bz2
boot/syslinux: make the sub-options a choice
Currently it is possible to choose either, both or none of the pxelinux or isolinux images. But it does not make sense to build none or both, as we need at least one to boot the target, and the target can not use more than one. So, we need one and only one image to be selected at once. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Lundquist <thomasez@redpill-linpro.com> Cc: Frank Hunleth <fhunleth@troodon-software.com> Cc: Arnout Vandecappelle <arnout@mind.be> Tested-by: Frank Hunleth <fhunleth@troodon-software.com> Tested-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'boot/syslinux')
-rw-r--r--boot/syslinux/Config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/boot/syslinux/Config.in b/boot/syslinux/Config.in
index 5b1122d6fc..f7525b8761 100644
--- a/boot/syslinux/Config.in
+++ b/boot/syslinux/Config.in
@@ -10,12 +10,15 @@ config BR2_TARGET_SYSLINUX
if BR2_TARGET_SYSLINUX
+choice
+ bool "Image to install"
+
config BR2_TARGET_SYSLINUX_ISOLINUX
bool "Install isolinux"
- default y
config BR2_TARGET_SYSLINUX_PXELINUX
bool "Install pxelinux"
- default y
+
+endchoice
endif