diff --git a/documentation/dev-manual/dev-manual-kernel-appendix.xml b/documentation/dev-manual/dev-manual-kernel-appendix.xml index 710bab9825..b4b2087c22 100644 --- a/documentation/dev-manual/dev-manual-kernel-appendix.xml +++ b/documentation/dev-manual/dev-manual-kernel-appendix.xml @@ -456,18 +456,21 @@ Your environment should be set up since you previously sourced the oe-init-build-env script. If it isn't, source the script again from poky. - - Be sure old images are cleaned out by running the - cleanall BitBake task as follows: $ cd ~/poky + $ source oe-init-build-env + + + Be sure old images are cleaned out by running the + cleanall BitBake task as follows from your build directory: + $ bitbake -c cleanall linux-yocto Never remove any files by hand from the tmp/deploy directory insided the local Yocto Project files build directory. Always use the BitBake cleanall task to clear out previous builds. - Build the kernel image using this command: + Next, build the kernel image using this command: $ bitbake -k core-image-minimal