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>
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