diff mbox

[1/1] package/linuxconsoletools: always select a sub-option

Message ID 201706221304.v5MD4b8J004249@mx1.sonologic.net
State Accepted
Commit e9b47764839ca6120af673d1df34f5fbe89e6e09
Headers show

Commit Message

Koen Martens June 22, 2017, 1:03 p.m. UTC
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.

Signed-off-by: Koen Martens <koen.martens@transport.alstom.com>
---
 package/linuxconsoletools/Config.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Peter Korsgaard June 22, 2017, 8:04 p.m. UTC | #1
>>>>> "Koen" == Koen Martens <koen.martens@transport.alstom.com> writes:

 > 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.

Please remember to add a reference to the specific autobuilder issues
this fixes for the future.

 > Signed-off-by: Koen Martens <koen.martens@transport.alstom.com>
 > ---
 >  package/linuxconsoletools/Config.in | 1 +
 >  1 file changed, 1 insertion(+)

 > diff --git a/package/linuxconsoletools/Config.in b/package/linuxconsoletools/Config.in
 > index d2b0117..bc20abe 100644
 > --- a/package/linuxconsoletools/Config.in
 > +++ b/package/linuxconsoletools/Config.in
 > @@ -1,5 +1,6 @@
 >  config BR2_PACKAGE_LINUXCONSOLETOOLS
 >  	bool "linuxconsoletools"
 > +	select BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH if !BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK && !BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK

I've rewrapped this line and added autobuilder references and committed,
thanks!
diff mbox

Patch

diff --git a/package/linuxconsoletools/Config.in b/package/linuxconsoletools/Config.in
index d2b0117..bc20abe 100644
--- a/package/linuxconsoletools/Config.in
+++ b/package/linuxconsoletools/Config.in
@@ -1,5 +1,6 @@ 
 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