Skip to contentSkip to conversation

package/linuxconsoletools: always select a sub-option

PATCH New Koen Martens 2 participants 2 messages Jun 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/linuxconsoletools/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/linuxconsoletools/Config.in +1 -0
index d2b0117..bc20abe 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 package/linuxconsoletools: always select a sub-option

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Koen" == Koen Martens <[email protected]> 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.

package/linuxconsoletools/Config.in line 3

Quoted 13 lines
---
 package/linuxconsoletools/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/linuxconsoletools/Config.in +1 -0
index d2b0117..bc20abe 100644
@@ -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!

Signature · 1 line
Bye, Peter Korsgaard