Commit 0b0eebe9 authored by Yann E. MORIN's avatar Yann E. MORIN Committed by Peter Korsgaard
Browse files

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: default avatar"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: default avatarFrank Hunleth <fhunleth@troodon-software.com>
Tested-by: default avatarRomain Naour <romain.naour@openwide.fr>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 8b8f9004
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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