打补丁(patch)示例

时间:2022-04-26 18:44:58
1.新建一个文件目录.
mkdir uboot
 
2.将u-boot-2008.10.tar.bz2, u-boot-rat.patch两个文件移入 uboot
 
3.解压
tar xjvf u-boot-2008.10.tar.bz2
 
4.打补丁
patch -p0 < u-boot-rat.patch
 
5.over. it is easy!