buildroot/package/linuxconsoletools/Config.in
Koen Martens e9b4776483 package/linuxconsoletools: always select a sub-option
This patch forces BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH
to be selected if none of the other sub-options are
selected. This fixes build failures when using
'make randpackageconfig', where selecting
BR2_PACKAGE_LINUXCONSOLETOOLS without selecting any sub-option
would break in the 'install to target' phase.

Fixes:
http://autobuild.buildroot.net/results/94b/94bc050f291cc42a4fdcf02157320576feb03654/
http://autobuild.buildroot.net/results/f62/f62c5e8bd63d21211eb0e658c4e84135bd59b8cb/

And many more.

[Peter: add autobuilder references and wrap Config.in line]
Signed-off-by: Koen Martens <koen.martens@transport.alstom.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-06-22 22:04:57 +02:00

37 lines
1 KiB
Plaintext

config BR2_PACKAGE_LINUXCONSOLETOOLS
bool "linuxconsoletools"
select BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH if \
!BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK && \
!BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK
help
Linuxconsoletools contains the inputattach utility
to attach legacy serial devices to the Linux kernel
input layer and joystick utilities to calibrate and
test joysticks and joypads.
http://sf.net/projects/linuxconsole/
if BR2_PACKAGE_LINUXCONSOLETOOLS
config BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH
bool "inputattach"
default y
help
The inputattach utility attaches legacy serial devices
to the Linux kernel input layer.
config BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK
bool "joystick utilities"
help
Joystick utilities (jstest, jscal, jscal-store,
jscal-restore, evdev-joystick).
config BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK
bool "force-feedback utilities"
select BR2_PACKAGE_SDL
help
Build force-feedback driver utilities (fftest,
ffmvforce, ffset, ffcfstress).
endif