mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 12:34:26 +01:00
Don't clean kernel_module by default to save some nanoseconds
This commit is contained in:
@@ -2766,6 +2766,15 @@ dmesg -T
|
|||||||
sudo lsmod | grep hello
|
sudo lsmod | grep hello
|
||||||
....
|
....
|
||||||
|
|
||||||
|
Once you are done with this method, you must clean up the in-tree build objects before you decide to do the right thing and move on to the superior `./build` Buildroot method:
|
||||||
|
|
||||||
|
....
|
||||||
|
cd "kernel_module"
|
||||||
|
./make-host.sh clean
|
||||||
|
....
|
||||||
|
|
||||||
|
otherwise they will cause problems.
|
||||||
|
|
||||||
=== Hello host
|
=== Hello host
|
||||||
|
|
||||||
Minimal host build system sanity check example.
|
Minimal host build system sanity check example.
|
||||||
|
|||||||
2
build
2
build
@@ -136,8 +136,6 @@ BR2_ROOTFS_POST_SCRIPT_ARGS=\"$post_script_args\"
|
|||||||
make O="$out_dir" olddefconfig
|
make O="$out_dir" olddefconfig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "${root_dir}/kernel_module"
|
|
||||||
./make-host.sh -j "$j" clean
|
|
||||||
mkdir -p "${root_dir}/9p"
|
mkdir -p "${root_dir}/9p"
|
||||||
cd "${buildroot_dir}"
|
cd "${buildroot_dir}"
|
||||||
# HOST_QEMU_OPTS is a hack that happens to work because the QEMU package luckly uses += at all times.
|
# HOST_QEMU_OPTS is a hack that happens to work because the QEMU package luckly uses += at all times.
|
||||||
|
|||||||
Reference in New Issue
Block a user