reflects the configs of external module in .config file
i have written a external module. i am using a Kbuid file to compile the module.this kbuild file is generating a header file which includes some configs based on the choices given during compilation of module.
i want to compile the modules files based on those configs defined in the generated header file as the same way kernel does by including the generated header autoconf.h . The problem which i am facing is the kbuild system comping the modules files first and generating the header file later. so i have two question . 1. how can i generate the header before compiling the module files. 2.how can i define config macros for external module and reflect to .config . thanks |
All times are GMT -5. The time now is 10:01 AM. |