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
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
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
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
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
>
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