补丁
来源:互联网 发布:数据etl具体工作内容 编辑:程序博客网 时间:2024/04/30 01:43
1. 制作补丁
diff -urN u-boot-2010.06/ u-boot/ > ../u-boot-just-work.patch
u-boot-2010.06/ 是原始的文件夹
u-boot/是我添加了很多修改后的文件夹
../u-boot-just-work.patch是补丁
2. 打补丁
To revert a previously applied patch, use the -R argument to patch.
So, if you applied a patch like this:
cd xxxxx/
patch -p1 < ../patch-x.y.z
You can revert (undo) it like this:
cd xxxxx/
patch -R -p1 < ../patch-x.y.z
示例
cd /development/mini2440/u-boot-2010.06/
[root@localhost u-boot-2010.06]# patch -p1 < /home/harvis/Desktop/u-boot-just-work.patch
patching file arch/arm/cpu/arm920t/s3c24x0/speed.c
patching file arch/arm/cpu/arm920t/s3c24x0/timer.c
patching file arch/arm/cpu/arm920t/start.S
patching file arch/arm/include/asm/arch-s3c24x0/s3c24x0_cpu.h
patching file arch/arm/include/asm/arch-s3c24x0/s3c24x0.h
patching file arch/arm/lib/board.c
patching file board/samsung/mini2440/config.mk
patching file board/samsung/mini2440/flash.c
patching file board/samsung/mini2440/lowlevel_init.S
patching file board/samsung/mini2440/Makefile
patching file board/samsung/mini2440/mini2440.c
patching file include/configs/mini2440.h
patching file Makefile
- 补丁
- 补丁
- 数据补丁
- 补丁算法
- 系统补丁
- VS2008补丁
- 补丁 升级
- Oracle 补丁
- 补丁是什么????
- 瑞通免狗补丁
- QTP10补丁
- 创建补丁
- 提交补丁
- 补丁制作
- patch补丁
- VISUALSVN补丁
- 提交补丁
- Git补丁
- yii框架:CDbConnection failed to open the DB connection: could not find driver的解决办法
- 黑马程序员-函数
- Linux内核编译过程中遇到的问题
- cocos2dx学习:TexturePacker的使用
- win8中32位银行客户端无法访问usbkey【1】
- 补丁
- 【索引】Maths - Misc
- hdu 4300 Clairewd’s message KMP算法
- SAP 的面试
- centos6安装codeblocks
- 解决windows server2008 qq 远程时特别卡的问题
- 修改下hosts文件,提高百度云管家下载速度的方法!
- uva 607 - Scheduling Lectures
- EasyARM i.mx287学习笔记——文件IO方式操作GPIO