diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-kernel-appendix.xml | 9 |
1 files changed, 6 insertions, 3 deletions
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 @@ | |||
456 | <listitem><para>Your environment should be set up since you previously sourced | 456 | <listitem><para>Your environment should be set up since you previously sourced |
457 | the <filename>oe-init-build-env</filename> script. | 457 | the <filename>oe-init-build-env</filename> script. |
458 | If it isn't, source the script again from <filename>poky</filename>. | 458 | If it isn't, source the script again from <filename>poky</filename>. |
459 | <literallayout class='monospaced'> | ||
460 | $ cd ~/poky | ||
461 | $ source oe-init-build-env | ||
462 | </literallayout> | ||
459 | </para></listitem> | 463 | </para></listitem> |
460 | <listitem><para>Be sure old images are cleaned out by running the | 464 | <listitem><para>Be sure old images are cleaned out by running the |
461 | <filename>cleanall</filename> BitBake task as follows: | 465 | <filename>cleanall</filename> BitBake task as follows from your build directory: |
462 | <literallayout class='monospaced'> | 466 | <literallayout class='monospaced'> |
463 | $ cd ~/poky | ||
464 | $ bitbake -c cleanall linux-yocto | 467 | $ bitbake -c cleanall linux-yocto |
465 | </literallayout></para> | 468 | </literallayout></para> |
466 | <para><note>Never remove any files by hand from the <filename>tmp/deploy</filename> | 469 | <para><note>Never remove any files by hand from the <filename>tmp/deploy</filename> |
467 | directory insided the local Yocto Project files build directory. | 470 | directory insided the local Yocto Project files build directory. |
468 | Always use the BitBake <filename>cleanall</filename> task to clear | 471 | Always use the BitBake <filename>cleanall</filename> task to clear |
469 | out previous builds.</note></para></listitem> | 472 | out previous builds.</note></para></listitem> |
470 | <listitem><para>Build the kernel image using this command: | 473 | <listitem><para>Next, build the kernel image using this command: |
471 | <literallayout class='monospaced'> | 474 | <literallayout class='monospaced'> |
472 | $ bitbake -k core-image-minimal | 475 | $ bitbake -k core-image-minimal |
473 | </literallayout></para></listitem> | 476 | </literallayout></para></listitem> |