clean user before guest build

This commit is contained in:
Ciro Santilli
2017-08-04 07:27:17 +01:00
parent 0bb3e8519a
commit c730f9df20
2 changed files with 6 additions and 2 deletions

6
run
View File

@@ -29,7 +29,11 @@ case "$arch" in
;;
esac
cd buildroot
# Otherwise compiled
cd kernel_module
./make-host.sh clean
cd ../buildroot
for p in $(find '../buildroot_patches/' -maxdepth 1 -name '*.patch' -print); do
patch -N -r - -p 1 <"$p" || :
done