From 0b0eebe96113c75ca8c5ee43fdbf8ebb15e4b39d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Fri, 2 May 2014 19:10:29 +0200 Subject: [PATCH] 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 --- boot/syslinux/Config.in | 7 +++++-- 1 file 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