[i2c] I2C support - 'built-in' VS modules
Jean Delvare
khali at linux-fr.org
Thu Aug 17 22:24:47 CEST 2006
Drasko,
> I forgotten to mention:
>
> > One usually does 'make modules_install' to put the kernel modules in the
> > proper place after building.
>
> Can't do that. I am cross compiling the kernel, then transfer the image to
> my board. That's why I build in modules into kernel, rather than compile
> them one by one, then transfer them to the board and insmod them (which
> sometimes is a better solutioon for development)...
This isn't really a problem. Do:
make INSTALL_MOD_PATH=/tmp/fake_root modules_install
And the modules will be installed to /tmp/fake_root/lib/modules instead
of /lib/modules. Then you can copy the whole tree to your target host.
--
Jean Delvare
More information about the i2c
mailing list