Dont create .rej files for reapplied patches

This commit is contained in:
Ciro Santilli
2017-06-03 04:34:25 +01:00
parent a2f264588a
commit 7c67316fdf

2
run
View File

@@ -20,7 +20,7 @@ case "$arch" in
;; ;;
esac esac
for p in ../buildroot_patches/*.patch; do for p in ../buildroot_patches/*.patch; do
patch -N -p1 <"../buildroot_patches/${p}" || : patch -N -r - -p 1 <"../buildroot_patches/${p}" || :
done done
make BR2_EXTERNAL="$(pwd)/../kernel_module" "$defconfig" make BR2_EXTERNAL="$(pwd)/../kernel_module" "$defconfig"
# TODO Can't get rid of this for now. # TODO Can't get rid of this for now.