Revert remove redundant cleanup (#1567)
U-boot runs several targets. Cubox, Helios4, ... and they are not cleaned at checkout. @zhangn1985
This reverts commit 357926add6
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
This commit is contained in:
parent
70e1e5882d
commit
b9adf0ea48
@ -688,6 +688,9 @@ process_patch_file()
|
||||
local patch=$1
|
||||
local status=$2
|
||||
|
||||
# detect and remove files which patch will create
|
||||
lsdiff -s --strip=1 $patch | grep '^+' | awk '{print $2}' | xargs -I % sh -c 'rm -f %'
|
||||
|
||||
echo "Processing file $patch" >> $DEST/debug/patching.log
|
||||
patch --batch --silent -p1 -N < $patch >> $DEST/debug/patching.log 2>&1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user