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>
This commit is contained in:
parent
8b8f9004f4
commit
0b0eebe961
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user