Hi all,

Maybe this information is available somewhere else too, but in case
it's not...

If anybody is interested in just compiling kernel modules without
installing full scratchbox, here's a short description of how to do it.
Modules compiled this way will work with the 2.6.18 release kernel.

Download following two:

scratchbox-toolchain-cs2005q3.2-glibc-arm-1.0.5-i386.tar.gz
scratchbox-libs-1.0.8-i386.tar.gz

Available at:

http://scratchbox.org/download/files/sbox-releases/branches/apophis/r4/tarball

After untarring, compile the kernel with:

ARCH=arm 
CROSS_COMPILE=/scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux- \
make zImage modules

Then the WLAN driver compiles with:

$ cd cx3110x-module-src-0.9.34.1
$ ARCH=arm 
CROSS_COMPILE=/scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux- \
EABI4=y KERNEL_SRC_DIR=/src/kernel/linux-2.6.18 make modules

See also the Maemo kernel guide at:

http://maemo.org/development/documentation/how-tos/3-x/howto_kernel_guide_bora.html

Cheers,

Tony
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to