Hi

We need to build a kernel mode driver for our product.
We download the source code from here,  http://source.android.com/download,
and follow what it says. (Our platform is Unbutu 8.10.)
But we can’t find the path of the kernel source for building kernel
drivers.
For example, we always write this in Makfile :
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
We want to redirect the path, “/lib/modules/$(shell uname -r)/build”,
to Android’s kernel source path.
(That’s how we do to build different OS versions in one platform.)
Could you tell us where the path is or how to do this?

Ps. We would write a user space driver later, maybe in Q2. But we need
to demo at end of Feb. Therefore, we need to make the current kernel
mode driver working well.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to