[kbuild-devel] autoconf.h
by kalyan
 |
REPLY TO AUTHOR
|
 |
|
|
 |
REPLY TO GROUP
|
 |
|
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.
Any hints are appreciated.
Regards
kalyan
Bookmark with:
Delicious
Digg
reddit
Facebook
StumbleUpon
opensubscriber is not affiliated with the authors of this message nor responsible for its content.
|