From: Koen Martens Date: Thu, 22 Jun 2017 13:03:00 +0000 (+0200) Subject: package/linuxconsoletools: always select a sub-option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9b47764839ca6120af673d1df34f5fbe89e6e09;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- 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