主题 : linux驱动编译 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 84508
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
贡献值: 0 点
综合积分: 50 分
注册时间: 2012-12-22
最后登录: 2019-03-19
楼主  发表于: 2014-04-19 15:51

 linux驱动编译

我自己编写了一个驱动,就是申请一块内存进行操作,在开发板上的我已经写好了。需要怎样编写Makefile 才能编译出支持在电脑上运行的驱动啊。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2014-04-19 20:26
参考Linux Device Driver第三版 2.4节
http://www.aiothome.net/read.php?tid-1859.html
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."