- 博客(11)
- 资源 (5)
- 收藏
- 关注
转载 Linux diff与patch命令用法
diff 命令常用来比较文件、目录,也可以用来制作补丁文件──所谓“补丁文件” 就是“修改后的文件” 与“原始文件” 的差别。常用的选项有:
2014-10-30 23:37:42 840
转载 OpenWrt比较好的官方入门文档
https://downloads.openwrt.org/kamikaze/docs/openwrt.html#x1-20001Chapter 2Development issues2.1 The build systemOne of the biggest challenges to getting started with embedded devices i
2014-10-25 00:08:07 3837
转载 Linux Makefile学习
概述 什么是makefile?或许很多Winodws程序员都不知道这个东西,因为那些Windows IDE都为你做了这个工作,但我觉得要做一个好的和professional的程序员,makefile还是要懂的。这就好像现在有这么多的HTML的编辑器,但如果你想成为一个专业人士,你还是要了解HTML的标识的含义。特别在Unix下的软件编译,你就不能不自己写makefile了,会不会写m
2014-10-24 23:30:29 678
转载 Linux Makefile与shell脚本区别
在Makefile可以调用shell脚本,但是Makefile和shell脚本是不同的。本文试着归纳一下Makefile和shell脚本的不同。1、 shell中所有引用以$打头的变量其后要加{},而在Makefile中的变量是以$打头的后加()。实例如下:MakefilePATH="/data/"SUBPATH=$(PATH)ShellPATH="/data/"S
2014-10-22 14:48:21 12951 2
转载 Linux Makefile调试
可以通过来观察各个变量的值,对于某些晦涩的makefile以及shell命令的执行的理解很有帮助,试验方法采用错误打印信息的方法:$(error"$(A)") #会显示变量A的内容,并中断make的执行,这时你就可以看一些变量的定义了,很方便。如果要显示shell命令执行结果,例如uname命令的执行结果:$(error"$(shelluname)")
2014-10-22 14:23:17 687
转载 Openwrt:Makefile框架分析
本篇的主要目的是想通过分析Makefile,了解openwrt编译过程。着重关注以下几点:openwrt目录结构主Makefile的解析过程,各子目录的目标生成。kernel编译过程firmware的生成过程软件包的编译过程openwrt目录结构官方源下载速度太度,我从github上clone了openwrt的代码仓库。git clone https:/
2014-10-21 21:48:50 17444
转载 关于BuildRoot
第一章 关于Buildroot Buildroot是一个包含Makefile和修补程序【patch】的集合,这个集合可以使你很容易的为你的目标构建交叉工具链【cross-compilationtoolchain】,根文件系统【root filesystem】以及Linux内核映像【kernelimage】。Buildroot可以独立的实现其中的一个或几个功能。
2014-10-20 09:37:47 1067
原创 openwrt编译问题
openwrt编译遇到问题,如下:bash: xzcat: command not found/bin/tar: This does not look like a tar archive/bin/tar: Exiting with failure status due to previous errorsmake[3]: *** [/home/openwrt_languang/o
2014-10-16 10:31:43 4264
转载 http://blog.csdn.net/flyingleo1981/article/details/19196275
http://blog.csdn.net/flyingleo1981/article/details/19196275
2014-10-14 19:21:06 668
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人