autotools使用
摘要:autotools使用的流程图 autotools使用的流程总结 1. 执行autoscan命令。这个命令主要用于扫描工作目录,并且生成configure.scan文件。 2. 修改configure.scan为configure.ac文件,并且修改配置内容。 3. 执行aclocal命令。扫描 c
阅读全文
posted @
2020-03-24 09:24
陌鉎こ城sHi
阅读(348)
推荐(0) 编辑
linux驱动开发第一步hello
摘要:先查看Ubuntu的版本 cat /etc/issue 或者使用 在看一下内核版本 现在开始我们第一个代码 hello.c /* * a simple kernel module: hello * * Copyright (C) 2014 Barry Song (baohua@kernel.org)
阅读全文
posted @
2018-07-20 15:47
陌鉎こ城sHi
阅读(352)
推荐(0) 编辑
makefile中 $@, $^, $<, $?含义
摘要:例子 简化后 经过简化后,我们的Makefile是简单了一点,不过人们有时候还想简单一点。 这里我们学习一个Makefile的缺省规则 .c.o: gcc -c $< 这个规则表示所有的 .o文件都是依赖与相应的.c文件的。
阅读全文
posted @
2018-07-12 09:00
陌鉎こ城sHi
阅读(1267)
推荐(1) 编辑