¡@

Home 

2014/10/16 ¤W¤È 08:27:41

android Programming Glossary: working_directory

How do you create a loadable kernel module for Android?

http://stackoverflow.com/questions/6282669/how-do-you-create-a-loadable-kernel-module-for-android

Tree Repo mkdir ~ bin PATH ~ bin PATH curl http android.git.kernel.org repo ~ bin repo chmod a x ~ bin repo mkdir WORKING_DIRECTORY cd WORKING_DIRECTORY repo init u git android.git.kernel.org platform manifest.git b eclair repo sync gpg import imported.. ~ bin PATH ~ bin PATH curl http android.git.kernel.org repo ~ bin repo chmod a x ~ bin repo mkdir WORKING_DIRECTORY cd WORKING_DIRECTORY repo init u git android.git.kernel.org platform manifest.git b eclair repo sync gpg import imported the huge key And from.. directory containing my module.c file and it's makefile. Contents of makefile below obj m mymodule.o CROSS_COMPILE ~ WORKING_DIRECTORY prebuilt linux x86 toolchain arm eabi 4.2.1 bin arm eabi KERNEL_DIR home myuser WORKING_DIRECTORY VERSION v1.1 all make..