summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Martens <koen.martens@transport.alstom.com>2017-06-22 15:03:00 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-06-22 22:04:57 +0200
commite9b47764839ca6120af673d1df34f5fbe89e6e09 (patch)
tree8da67088bc853b27b4f31c661bfca89bc715f7c9
parent1407c1b00c09cc51f9fa9e9a7e050f4160da8220 (diff)
downloadbuildroot-e9b47764839ca6120af673d1df34f5fbe89e6e09.tar.gz
buildroot-e9b47764839ca6120af673d1df34f5fbe89e6e09.zip
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>
-rw-r--r--package/linuxconsoletools/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/linuxconsoletools/Config.in b/package/linuxconsoletools/Config.in
index d2b0117f48..76150278ae 100644
--- a/package/linuxconsoletools/Config.in
+++ b/package/linuxconsoletools/Config.in
@@ -1,5 +1,8 @@
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
OpenPOWER on IntegriCloud