Remove redundant kernel module build commands.

They were rebuilding every time.

Fix run find for no patches
This commit is contained in:
Ciro Santilli
2017-06-05 01:16:38 +01:00
parent 850df45295
commit 991397dede
3 changed files with 4 additions and 15 deletions

2
run
View File

@@ -19,7 +19,7 @@ case "$arch" in
defconfig=qemu_arm_versatile_defconfig
;;
esac
for p in "$(find '../buildroot_patches/' -maxdepth 1 -name '*.patch' -print)"; do
for p in $(find '../buildroot_patches/' -maxdepth 1 -name '*.patch' -print); do
patch -N -r - -p 1 <"$p" || :
done
make BR2_EXTERNAL="$(pwd)/../kernel_module" "$defconfig"