diff options
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 1774ba24c0..5490bd3130 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -13657,7 +13657,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 13657 | <link linkend='var-MIRRORS'><filename>MIRRORS</filename></link> | 13657 | <link linkend='var-MIRRORS'><filename>MIRRORS</filename></link> |
| 13658 | and <link linkend='var-PREMIRRORS'><filename>PREMIRRORS</filename></link> | 13658 | and <link linkend='var-PREMIRRORS'><filename>PREMIRRORS</filename></link> |
| 13659 | and points to the cache locations to check for the shared | 13659 | and points to the cache locations to check for the shared |
| 13660 | objects. | 13660 | state (sstate) objects. |
| 13661 | </para> | 13661 | </para> |
| 13662 | 13662 | ||
| 13663 | <para> | 13663 | <para> |
| @@ -13670,6 +13670,21 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 13670 | </para> | 13670 | </para> |
| 13671 | 13671 | ||
| 13672 | <para> | 13672 | <para> |
| 13673 | If you want to use native sstate artifacts that are | ||
| 13674 | provided by a server, you need to configure | ||
| 13675 | <filename>SSTATE_MIRROR</filename> regular expressions | ||
| 13676 | so that the local search paths get mapped to paths | ||
| 13677 | provided by the server. | ||
| 13678 | The server paths must take into account the GCC versions. | ||
| 13679 | For example, the following maps the local search path | ||
| 13680 | <filename>universal-4.9</filename> to the server-provided | ||
| 13681 | path <replaceable>server_url_sstate_path</replaceable>: | ||
| 13682 | <literallayout class='monospaced'> | ||
| 13683 | SSTATE_MIRRORS ?= file://universal-4.9/(.*) http://<replaceable>server_url_sstate_path</replaceable>/universal-4.8/\1 \n | ||
| 13684 | </literallayout> | ||
| 13685 | </para> | ||
| 13686 | |||
| 13687 | <para> | ||
| 13673 | If a mirror uses the same structure as | 13688 | If a mirror uses the same structure as |
| 13674 | <link linkend='var-SSTATE_DIR'><filename>SSTATE_DIR</filename></link>, | 13689 | <link linkend='var-SSTATE_DIR'><filename>SSTATE_DIR</filename></link>, |
| 13675 | you need to add | 13690 | you need to add |
