summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/dev-manual-kernel-appendix.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-01-24 11:48:11 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 12:07:43 -0800
commitfe11d654b2bc3ef572138ded75bcc4d6937cd3dd (patch)
tree8a0050ac8cb82bf77592bfa66e6dd22646db46f2 /documentation/dev-manual/dev-manual-kernel-appendix.xml
parentbee29889fab8bc1630e2f15ba9ccb0d5d225aae3 (diff)
downloadpoky-fe11d654b2bc3ef572138ded75bcc4d6937cd3dd.tar.gz
documentation/dev-manual/dev-manual-kernel-appendix.xml: Fixes to examples
Jim Abernathy pointed out an area where the bitbake command is run from the top-level poky directory. This is incorrect and the user should run this from the build directory. I changed the instance so that the example instructs the user to either run the environment setup script first, which would place him into the build directory. I also reinforced it by adding supporting text saying that you should run the bitbake command from the build directory. Reported-by: Jim Abernathy <jim.abernathy@intel.com> (From yocto-docs rev: b111e5e4faa6d4e5e99f48b886aeb72bb12e2914) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-kernel-appendix.xml')
-rw-r--r--documentation/dev-manual/dev-manual-kernel-appendix.xml9
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>