Thread (2 messages) 2 messages, 2 authors, 2009-08-07

No way to turn avoid building HID drivers

flat view

From: Alan Stern <stern@rowland.harvard.edu>
Date: 2009-07-28 14:59:41

Jiri:

The current Kconfig settings for many of the special HID drivers don't
offer any way to avoid building them unless CONFIG_EMBEDDED is on.  
For example:

config HID_A4TECH
	tristate "A4 tech" if EMBEDDED
	depends on USB_HID
	default !EMBEDDED
	---help---
	Support for A4 tech X5 and WOP-35 / Trust 450L mice.

Without CONFIG_EMBEDDED, the tristate doesn't take effect.  Hence the 
symbol isn't controllable by the user and Kbuild initializes it to the 
!EMBEDDED setting.

Should the tristate line say "if !EMBEDDED"?  Or was it your intention 
that all these drivers should always be built whenever CONFIG_USB_HID 
is on?

Alan Stern
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help