question about building a module

Yann Droneaud ydroneaud at opteya.com
Sat Dec 8 13:16:08 EST 2012


Le samedi 08 décembre 2012 à 04:02 -0500, devendra.aaru a écrit :
> On Sat, Dec 8, 2012 at 3:03 AM, Yann Droneaud <ydroneaud at opteya.com> wrote:

> > cd net/bluetooth
> > make -C $PWD/../../ M=$PWD modules
> >
> > (But if you change a configuration parameter in .config,
> > you will need to do a full build)
> 
> why? is that creates a linker errs while your module uses some symbols
> that are not exported?
> 

It's to create the autogenerated files built from .config.
Especially include/generated/autoconf.h header.

It's probably doable using only "make prepare" or "make
modules_prepare".

Regards.

-- 
Yann Droneaud
OPTEYA





More information about the Kernelnewbies mailing list