From: Yann E. MORIN Date: Fri, 2 May 2014 17:10:29 +0000 (+0200) Subject: boot/syslinux: make the sub-options a choice X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b0eebe96113c75ca8c5ee43fdbf8ebb15e4b39d;p=buildroot.git 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" Cc: Thomas Lundquist Cc: Frank Hunleth Cc: Arnout Vandecappelle Tested-by: Frank Hunleth Tested-by: Romain Naour Signed-off-by: Peter Korsgaard --- 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