Hi all
I took Kbuild environment from linux-2.6.20 (from kernel.org) for my build
system.
I have lot of configurable options for my modules in the build system.
I see that there are 2 ways of accesing the configurable options in my C
code:
1. generate autoconf.h and include it in the code
2. include .config (generated by menuconfig) and pass appropraites CFLAGS in
my makefiles?
What is the recommended way?
As i understand, for option 1, every time i do menuconfig, autconf.h is
updated thus causing all source code to recompile which is annoying.