diff --git a/README.adoc b/README.adoc index 2a8fc3f..76e93de 100644 --- a/README.adoc +++ b/README.adoc @@ -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. diff --git a/build b/build index 35e37b0..189c4d6 100755 --- a/build +++ b/build @@ -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.