在AOSP源码包中合入Kbox安卓补丁包。
1 2 3 4 5 6 7 8 9 10 | aosp_path=~/aosp; \ work_path=~/dependency/patchForAndroid; \ for patch_name in $(ls $work_path | grep .patch); do \ cd $work_path; \ echo $patch_name; \ patch_path="$(echo $patch_name | sed 's|-|/|g' | awk -F"/" 'OFS="/"{$NF="";print}')"; \ cp $patch_name $aosp_path/$patch_path; \ cd $aosp_path/$patch_path; \ patch -p1 < $patch_name; \ done |