Hi,

On 21.10.2009, at 13:11, Jens Möller wrote:


Hi @all!

I would like to modify a linux kernel module. Unfortunately, the module package has a postlinux.conf that does not seem to be executed when I start a compile for that single package. Recompiling the whole kernel is not much fun when developing a kernel module.

Is there a way to compile that single kernel module package?


In the past it was once possible to only build the third party modules by setting: SDEDEBUG_LINUX_SUBMODULES_ONLY, but due to changes in the kernel build system I think this does not work correctly anymore. But it's certainly fixable:

SDEDEBUG_LINUX_SUBMODULES_ONLY scripts/Build-Target -job 5-linux26 # etc. ...

However, you can also let the kernel build, and then enter the sandbox to continue developing / fixing where the build stopped in your module:

cd src.linuux26*
./debuig.sh

and then also include the sub-module defines, like:

. debug.buildenv.<name of module>

and continue building it with something like eval $MAKE $makeopt # etc. as appropriated for the module

Regards,
  René

--
  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
  http://exactcode.com | http://t2-project.org | http://rene.rebe.name

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to