MTK如何添加驱动

1:在mediatek\source\kernel\drivers中新建文件夹

     如mediatek\source\kernel\drivers\test
2:  将您的驱动源码放在mediatek\source\kernel\drivers\test目录下,如test.c
3:在mediatek\source\kernel\drivers\test中添加makefile
                obj-y := test.o  或obj-m := test.o
4:编译

posted on 2012-08-20 16:11  RTFSC  阅读(873)  评论(0编辑  收藏  举报

导航