Please read carefully the README in the enclosed example package how to provide stand-alone module cross compilation.
For our case PATH should be set properly for the toolchain, somewhat as following :
PATH=$PATH:/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin
The next command builds the module assuming the module sources and makefile are in current directory.
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
Again, it is assumed that kernel is already prepatched and built after the first LTIB running.
./ltib -m prep -p kernel@
./ltib -m scbuild -p kernel
The next general link regarding module compilation may be useful :
http://tldp.org/LDP/lkmpg/2.6/html/index.html