Don't clean kernel_module by default to save some nanoseconds

This commit is contained in:
Ciro Santilli
2018-03-18 10:31:03 +00:00
parent 62d5f43eb0
commit f124af09c4
2 changed files with 9 additions and 2 deletions

View File

@@ -2766,6 +2766,15 @@ dmesg -T
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
Minimal host build system sanity check example.

2
build
View File

@@ -136,8 +136,6 @@ BR2_ROOTFS_POST_SCRIPT_ARGS=\"$post_script_args\"
make O="$out_dir" olddefconfig
fi
cd "${root_dir}/kernel_module"
./make-host.sh -j "$j" clean
mkdir -p "${root_dir}/9p"
cd "${buildroot_dir}"
# HOST_QEMU_OPTS is a hack that happens to work because the QEMU package luckly uses += at all times.