Kconfig in external modules
Gustavo Leite
gustavoleite.ti at gmail.com
Thu Feb 22 08:06:43 EST 2018
Hi all,
The kbuild documentation states that is possible to use CONFIG_ options in
external (out-of-tree) modules. However, is it possible for an external module
to define new options in a local Kconfig file?
For example, I would have 2 files
/path/to/module/Kconfig
/path/to/module/.config
when I run the usual command to build external module
$ make -C /lib/modules/`uname -r`/build M=/path/to/module modules
the options present in the local .config file would be exported by kbuild as C
#define's and make variables to be used in the module. The build system supports
such feature?
Thanks,
~ Gustavo
More information about the Kernelnewbies
mailing list