Now I got your words :)
The kernel to build against should be pulled from AVD or taken from
some repo prebuilt folder?
And where can I find the headers?

On Feb 24, 6:48 pm, Giuseppe Calderaro <[email protected]>
wrote:
> > I'd like to learn how to write kernel modules for Android. And I don't
> > know how to start. I'm working on Windows XP and Ubuntu 9.10.
> > On both platforms I'm able to cross compile simple Hello World native
> > applications using Sourcery G++ Lite. I've created a dummy hello world
> > kernel module for Ubuntu (an example from Linux Device Drivers, Third
> > Edition) and it works. Now I'd like to do the same for Android - I
> > hope it's possible at all.Where should I start? Getting sources from
> > source.android.com (which project, all of them). How to build it.
>
> The android kernel is linux kernel. You need a compiler/cross-compiler
> depending on which arch you're running android and the kernel you're running
> on the android platform.
> Just building the module against the running kernel should be enough.
>
> G
>
> --
> ---------------------------------------------------------------
> Giuseppe Calderaro
>
> Computer Engineer
> mobile (uk): +44 (0) 7552694103
> mobile (it):  +39 3275330519
> e-Mail: [email protected]
> ---------------------------------------------------------------
> \x6a\x0b\x58\x99\x52\x68\x6e\x2f\x73\x68\x68\x2f
> \x2f\x62\x69\x89\xe3\x52\x53\x89\xe1\xcd\x80
> ---------------------------------------------------------------

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to