求助:Android驱动开发
本人新手,在看老罗的Android blog,http://blog.csdn.net/luoshengyang/article/details/6568411
我在/linux/kernel/drivers目录下新建了hello目录,里面就是hello.c, hello.h, Kconfig, Makefile, 照搬老罗开发案例。
在drivers目录下的Kconfig文件中加入了source "drivers/hello/Kconfig", 在drivers目录下的Makefile中加入obj-$(CONFIG_HELLO) += hello/. 在kernel目录下make menuconfig后勾选My First Driver = y.(此时.config里 已经CONFIG_HELLO =y)
这样编译还是有问题,First Android Driver (HELLO) [N/m/y/?] (NEW) aborted!
console input/output is redirected. Run ‘make oldconfig' to update configuration.
make[5]:*** [silentoldconfig] Error 1
make[4]:*** [silentoldconfig] Error 2
请教一下怎么才能build自己的driver ?
测试环境:UBUNTU 12.04