[Buildroot] building kernel modules

Roman Chertov rchertov at cs.ucsb.edu
Thu Nov 5 21:59:59 UTC 2009


Hello,

I am using buildroot to build a distro for an ARM ep9xx system.
Everything works great except for one kernel module. I am trying to
debug it, but it is a pain to make the whole kernel tree to insert a
single printk.  Also, it looks like I have to do "touch
<...>/.configured" to get the kernel to detect the change the compile a
new version of the module.

Is there any documentation regarding building kernel modules by
themselves after having built the main kernel?  Something similar to how
userlevel apps get cross compiled.  I suppose that somehow I need to
access all of the flags that buildroot passes to the kernel when it
builds it.

Ideally, I just want to just compile the module, and then insmod it over
the NFS rootfs.

Many Thanks,

Roman


More information about the buildroot mailing list