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>
This commit is contained in:
parent
bee29889fa
commit
fe11d654b2
|
@ -456,18 +456,21 @@
|
|||
<listitem><para>Your environment should be set up since you previously sourced
|
||||
the <filename>oe-init-build-env</filename> script.
|
||||
If it isn't, source the script again from <filename>poky</filename>.
|
||||
</para></listitem>
|
||||
<listitem><para>Be sure old images are cleaned out by running the
|
||||
<filename>cleanall</filename> BitBake task as follows:
|
||||
<literallayout class='monospaced'>
|
||||
$ cd ~/poky
|
||||
$ source oe-init-build-env
|
||||
</literallayout>
|
||||
</para></listitem>
|
||||
<listitem><para>Be sure old images are cleaned out by running the
|
||||
<filename>cleanall</filename> BitBake task as follows from your build directory:
|
||||
<literallayout class='monospaced'>
|
||||
$ bitbake -c cleanall linux-yocto
|
||||
</literallayout></para>
|
||||
<para><note>Never remove any files by hand from the <filename>tmp/deploy</filename>
|
||||
directory insided the local Yocto Project files build directory.
|
||||
Always use the BitBake <filename>cleanall</filename> task to clear
|
||||
out previous builds.</note></para></listitem>
|
||||
<listitem><para>Build the kernel image using this command:
|
||||
<listitem><para>Next, build the kernel image using this command:
|
||||
<literallayout class='monospaced'>
|
||||
$ bitbake -k core-image-minimal
|
||||
</literallayout></para></listitem>
|
||||
|
|
Loading…
Reference in New Issue