嵌入式linux驱动开发
文章平均质量分 74
Ilookbook
这个作者很懒,什么都没留下…
展开
-
多源文件的linux驱动Makefile编写
多个源文件linux驱动的makefile编写原创 2011-05-03 19:08:00 · 1494 阅读 · 0 评论 -
警告:warning: function declaration isn't a prototype
<br />http://blogold.chinaunix.net/u3/95328/showart_2047704.html<br />#include <linux/config.h><br />#include <linux/module.h><br />#include <linux/kernel.h><br />#include <linux/init.h><br /><br />static int hello_init_module(void)<br />{<br /> printk(转载 2011-05-03 19:15:00 · 978 阅读 · 0 评论 -
linux 2.6内核 编译模块Makefile 详解
<br />http://hi.baidu.com/fans_cs<br />编译模块的make file 必须是Makefile,不能是makefile. //why?<br /><br />ifneq ($(KERNELRELEASE),)<br />obj-m := mytest.o<br />mytest-objs := file1.o file2.o file3.o<br />else<br />KDIR := /lib/modules/$(shell uname -r)/build<br />P转载 2011-05-04 11:25:00 · 752 阅读 · 0 评论