diff options
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
| -rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 10c3711b9a..a5cefe499f 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
| @@ -3920,17 +3920,30 @@ | |||
| 3920 | </literallayout> | 3920 | </literallayout> |
| 3921 | </para></listitem> | 3921 | </para></listitem> |
| 3922 | <listitem><para><emphasis>Clean up</emphasis>: | 3922 | <listitem><para><emphasis>Clean up</emphasis>: |
| 3923 | Be sure to clean the shared state out by running the | 3923 | Be sure to clean the shared state out by using BitBake |
| 3924 | <filename>cleansstate</filename> BitBake task as follows from your Build Directory: | 3924 | to run from within the Build Directory the |
| 3925 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-cleansstate'><filename>do_cleansstate</filename></ulink> | ||
| 3926 | task as follows: | ||
| 3925 | <literallayout class='monospaced'> | 3927 | <literallayout class='monospaced'> |
| 3926 | $ bitbake -c cleansstate linux-yocto | 3928 | $ bitbake -c cleansstate linux-yocto |
| 3927 | </literallayout></para> | 3929 | </literallayout></para> |
| 3928 | <para><note>Never remove any files by hand from the <filename>tmp/deploy</filename> | 3930 | <para> |
| 3929 | directory inside the | 3931 | <note> |
| 3930 | <link linkend='build-directory'>Build Directory</link>. | 3932 | Never remove any files by hand from the |
| 3931 | Always use the various BitBake clean tasks to clear out previous | 3933 | <filename>tmp/deploy</filename> |
| 3932 | build artifacts. | 3934 | directory inside the |
| 3933 | </note></para></listitem> | 3935 | <link linkend='build-directory'>Build Directory</link>. |
| 3936 | Always use the various BitBake clean tasks to | ||
| 3937 | clear out previous build artifacts. | ||
| 3938 | For information on the clean tasks, see the | ||
| 3939 | "<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-clean'><filename>do_clean</filename></ulink>", | ||
| 3940 | "<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-cleanall'><filename>do_cleanall</filename></ulink>", | ||
| 3941 | and | ||
| 3942 | "<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-cleansstate'><filename>do_cleansstate</filename></ulink>" | ||
| 3943 | sections all in the Yocto Project Reference | ||
| 3944 | Manual. | ||
| 3945 | </note> | ||
| 3946 | </para></listitem> | ||
| 3934 | <listitem><para><emphasis>Build the image</emphasis>: | 3947 | <listitem><para><emphasis>Build the image</emphasis>: |
| 3935 | Next, build the kernel image using this command: | 3948 | Next, build the kernel image using this command: |
| 3936 | <literallayout class='monospaced'> | 3949 | <literallayout class='monospaced'> |
