On 06/26/2012 11:42 AM, Luccio wrote:
Hi,

how to integrate a new touchscreen driver in android kernel sources?

Have a look in the Kconfig files:
http://lxr.free-electrons.com/source/drivers/input/touchscreen/Kconfig

you have to add your driver there and in the makefile.
http://lxr.free-electrons.com/source/drivers/input/touchscreen/Makefile

Just copy an entry and change it.
Dependencies are declared in Kconfig with the line "depends on XYZ_DRIVER" for your Kconfig entry.

Afterwards do a "make menuconfig" and select you new driver (as module or built in).

It's really easy.

if is there a dependencies between modules, how make it in Makefile?
how to create a new Kconfig for this module?
how to allow the building for this module ?

Thanks for help,
Best Regards.

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


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

Reply via email to