[android-kernel] Re: How to compile a kernel module to Andr oid Linux Kernel ?

2009-09-04 Thread Harish
To write a kernel module which placed external to core kernel please go through the below website http://tldp.org/LDP/lkmpg/2.6/html/x181.html Regards Harish On Aug 20, 12:22 pm, rk wrote: > Hi Guys, > > I am not able to compile the kernel which I have with the source code/ > downloaded from th

[android-kernel] Re: How to compile a kernel module to Andr oid Linux Kernel ?

2009-08-20 Thread rk
Hi Guys, I am not able to compile the kernel which I have with the source code/ downloaded from the git repo. Here is my problem thread. Can some one help me http://groups.google.com/group/android-kernel/browse_thread/thread/9b0975d78a28112 Thanks Rk On Aug 6, 1:14 pm, 永振 田 wrote: > Thanks,g

[android-kernel] Re: How to compile a kernel module to Andr oid Linux Kernel ?

2009-08-06 Thread 永振 田
Thanks,guys! With your help,the problem was solved. And here is the steps: Without writing a Makefile for the module. You just need to : #cp $(YOUR_MODULE_FILES) $(YOUR_ANDROID_DIR)/kernel/drivers/char/ next,you should: ## set kernel config #make ARCH=arm CROSS_COMPILE=arm-eabi- qsd8650_defconfig

[android-kernel] Re: How to compile a kernel module to Andr oid Linux Kernel ?

2009-08-05 Thread basteon
use it... may be very helpful add this script to android kernel building how-to ;) #!/bin/sh ### #Actually, I getting it by this way... #cd android #repo init -u git://android.git.kernel.org/platform/manifest.git #repo sync ### #But, if you want to get only tools, you must try this... # gi

[android-kernel] Re: How to compile a kernel module to Andr oid Linux Kernel ?

2009-08-05 Thread lei
ARCH=ARM On Aug 4, 6:09 pm, Neo wrote: > On Aug 3, 8:21 am, 永振 田 wrote: > > > > > > > Hi,all! > > I'd like to compile a kernel module to Android Linux Kernel,but I have > > no idea how to write the Makefile for the kernel module. > > Here is my Makefile(just like pc): > > >    obj-m= test_k.o >

[android-kernel] Re: How to compile a kernel module to Andr oid Linux Kernel ?

2009-08-04 Thread Neo
On Aug 3, 8:21 am, 永振 田 wrote: > Hi,all! > I'd like to compile a kernel module to Android Linux Kernel,but I have > no idea how to write the Makefile for the kernel module. > Here is my Makefile(just like pc): > >    obj-m= test_k.o >    KERNELDIR= /home/tyz/0728/kernel/ >    CROSS_COMPILE= /ho