lib-average: Make config option selectable
PATCH 1/1 lib-average: Make config option selectable
Make CONFIG_AVERAGE selectable for out-of-tree users such as compat-wireless.
---
lib/Kconfig +8 -1
@@ -223,6 +223,13 @@ config LRU_CACHE tristate config AVERAGE - bool + bool "Averaging functions" + help + This option is provided for the case where no in-kernel-tree + modules require averaging functions, but a module built outside + the kernel tree does. Such modules that use library averaging + functions require Y here. + + If unsure, say N. endmenu
Signature · 1 line
Greetings, Michael.
Quoted 2 lines · Michael Buesch
Make
CONFIG_AVERAGEselectable for out-of-tree users such as compat-wireless.
Is that really necessary? We haven't typically done this, and often just shipped the code in compat instead?
johannes
Quoted 6 lines · Johannes Berg
Quoted 2 lines · Michael Buesch
Make
CONFIG_AVERAGEselectable for out-of-tree users such as compat-wireless.Is that really necessary? We haven't typically done this, and often just shipped the code in compat instead?
Well, there are a lot more options in lib that do this (The help text is copied from the others).
compat-wireless does include a backport of the function, but only for <=2.6.37. So from .38 on compat-wireless expects the option to be enabled. Which is unfortunate, because it's impossible to enable without enabling something else that SELECTs it. I hit this situation in OpenWRT.
Signature · 1 line
Greetings, Michael.