diff options
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 55a2995519..39ce2a2497 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -2891,9 +2891,9 @@ | |||
2891 | machine, and a sysroot exists for the build host. | 2891 | machine, and a sysroot exists for the build host. |
2892 | <note> | 2892 | <note> |
2893 | You could find the term "staging" used within the Yocto | 2893 | You could find the term "staging" used within the Yocto |
2894 | project regarding files populating sysroot. | 2894 | project regarding files populating sysroot (e.g. the |
2895 | The term "staging" was used for previous releases of | 2895 | <ulink url='&YOCTO_DOCS_REF_URL;#var-STAGING_DIR'><filename>STAGING_DIR</filename></ulink> |
2896 | the Yocto Project. | 2896 | variable). |
2897 | </note> | 2897 | </note> |
2898 | </para> | 2898 | </para> |
2899 | 2899 | ||
@@ -2906,7 +2906,12 @@ | |||
2906 | task within the | 2906 | task within the |
2907 | <filename>${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink><filename>}</filename> | 2907 | <filename>${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink><filename>}</filename> |
2908 | directory. | 2908 | directory. |
2909 | A subset of these files automatically populates the sysroot. | 2909 | </para> |
2910 | |||
2911 | <para> | ||
2912 | A subset of these files, as defined by the | ||
2913 | the <ulink url='&YOCTO_DOCS_REF_URL;#var-SYSROOT_DIRS'><filename>SYSROOT_DIRS</filename></ulink> | ||
2914 | variable, automatically populates the sysroot. | ||
2910 | The reason for this limitation is that almost all files that | 2915 | The reason for this limitation is that almost all files that |
2911 | populate the sysroot are cataloged in manifests in order to | 2916 | populate the sysroot are cataloged in manifests in order to |
2912 | ensure the files can be removed later when a recipe is either | 2917 | ensure the files can be removed later when a recipe is either |
@@ -2915,6 +2920,17 @@ | |||
2915 | </para> | 2920 | </para> |
2916 | 2921 | ||
2917 | <para> | 2922 | <para> |
2923 | It is possible to modify the list of directories that populate | ||
2924 | the sysroot. | ||
2925 | The following example shows how you could add the | ||
2926 | <filename>/opt</filename> directory to the list of | ||
2927 | directories: | ||
2928 | <literallayout class='monospaced'> | ||
2929 | SYSROOT_DIRS += "/opt" | ||
2930 | </literallayout> | ||
2931 | </para> | ||
2932 | |||
2933 | <para> | ||
2918 | For information on variables you can use to help control how | 2934 | For information on variables you can use to help control how |
2919 | files sysroot is populated, see the | 2935 | files sysroot is populated, see the |
2920 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SYSROOT_DIRS'><filename>SYSROOT_DIRS</filename></ulink>, | 2936 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SYSROOT_DIRS'><filename>SYSROOT_DIRS</filename></ulink>, |