mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Remove redundant kernel module build commands.
They were rebuilding every time. Fix run find for no patches
This commit is contained in:
2
run
2
run
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user