nadlabak/android_device_motorola_umts_sholes — comment on commit 445471093ce708e724d8ebb7445333c7c375c4bc
File:  line 0
By nadlabak:

The updated module source is in my system/wlan/ti repo: https://github.com/nadlabak/android_system_wlan_ti/commits/gingerbread

If you replace your system/wlan/ti with the source from my repo, you can build it this way:

export ARCH=arm
export CROSS_COMPILE=[path to the base dir of your platform source]/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
export HOST_PLATFORM=zoom2
export KERNEL_DIR=[path to the base dir of your kernel source]
cd [path to the base dir of your platform source]/system/wlan/ti/wilink_6_1/platforms/os/linux
make

the newly compiled tiwlan_drv.ko will be created in system/wlan/ti/wilink_6_1/platforms/os/linux folder

For the original instructions I learned from see http://www.droidforums.net/forum/rescue-squad-guides/31452-how-compile-your-own-kernel.html#post326938