summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/faq.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/faq.rst')
-rw-r--r--documentation/ref-manual/faq.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst
index f1b564a60e..640ef77d03 100644
--- a/documentation/ref-manual/faq.rst
+++ b/documentation/ref-manual/faq.rst
@@ -108,10 +108,10 @@ the team can place sources there so builds continue to work.
108but the package is being marked as machine-specific in all cases, how do 108but the package is being marked as machine-specific in all cases, how do
109I prevent this? 109I prevent this?
110 110
111**A:** Set ``SRC_URI_OVERRIDES_PACKAGE_ARCH`` = "0" in the ``.bb`` file 111**A:** Set :term:`SRC_URI_OVERRIDES_PACKAGE_ARCH` = "0" in the ``.bb`` file
112but make sure the package is manually marked as machine-specific for the 112but make sure the package is manually marked as machine-specific for the
113case that needs it. The code that handles 113case that needs it. The code that handles
114``SRC_URI_OVERRIDES_PACKAGE_ARCH`` is in the 114:term:`SRC_URI_OVERRIDES_PACKAGE_ARCH` is in the
115``meta/classes/base.bbclass`` file. 115``meta/classes/base.bbclass`` file.
116 116
117**Q:** I'm behind a firewall and need to use a proxy server. How do I do 117**Q:** I'm behind a firewall and need to use a proxy server. How do I do
@@ -250,7 +250,7 @@ size, you need to set various configurations:
250 :term:`IMAGE_ROOTFS_EXTRA_SPACE` 250 :term:`IMAGE_ROOTFS_EXTRA_SPACE`
251 variable to add additional free space to the image. The build system 251 variable to add additional free space to the image. The build system
252 adds this space to the image after it determines its 252 adds this space to the image after it determines its
253 ``IMAGE_ROOTFS_SIZE``. 253 :term:`IMAGE_ROOTFS_SIZE`.
254 254
255**Q:** Why don't you support directories with spaces in the pathnames? 255**Q:** Why don't you support directories with spaces in the pathnames?
256 256
@@ -262,11 +262,11 @@ situation changes, the team will not support spaces in pathnames.
262**Q:** How do I use an external toolchain? 262**Q:** How do I use an external toolchain?
263 263
264**A:** The toolchain configuration is very flexible and customizable. It 264**A:** The toolchain configuration is very flexible and customizable. It
265is primarily controlled with the ``TCMODE`` variable. This variable 265is primarily controlled with the :term:`TCMODE` variable. This variable
266controls which ``tcmode-*.inc`` file to include from the 266controls which ``tcmode-*.inc`` file to include from the
267``meta/conf/distro/include`` directory within the :term:`Source Directory`. 267``meta/conf/distro/include`` directory within the :term:`Source Directory`.
268 268
269The default value of ``TCMODE`` is "default", which tells the 269The default value of :term:`TCMODE` is "default", which tells the
270OpenEmbedded build system to use its internally built toolchain (i.e. 270OpenEmbedded build system to use its internally built toolchain (i.e.
271``tcmode-default.inc``). However, other patterns are accepted. In 271``tcmode-default.inc``). However, other patterns are accepted. In
272particular, "external-\*" refers to external toolchains. One example is 272particular, "external-\*" refers to external toolchains. One example is
@@ -325,7 +325,7 @@ Here is another technique::
325 BB_FETCH_PREMIRRORONLY = "1" 325 BB_FETCH_PREMIRRORONLY = "1"
326 326
327This statement 327This statement
328limits the build system to pulling source from the ``PREMIRRORS`` only. 328limits the build system to pulling source from the :term:`PREMIRRORS` only.
329Again, this technique is useful for reproducing builds. 329Again, this technique is useful for reproducing builds.
330 330
331Here is another technique:: 331Here is another technique::
@@ -339,7 +339,7 @@ however, the technique can simply waste time during the build.
339 339
340Finally, consider an example where you are behind an HTTP-only firewall. 340Finally, consider an example where you are behind an HTTP-only firewall.
341You could make the following changes to the ``local.conf`` configuration 341You could make the following changes to the ``local.conf`` configuration
342file as long as the ``PREMIRRORS`` server is current:: 342file as long as the :term:`PREMIRRORS` server is current::
343 343
344 PREMIRRORS_prepend = "\ 344 PREMIRRORS_prepend = "\
345 ftp://.*/.* http://www.yoctoproject.org/sources/ \n \ 345 ftp://.*/.* http://www.yoctoproject.org/sources/ \n \
@@ -349,7 +349,7 @@ file as long as the ``PREMIRRORS`` server is current::
349 349
350These changes would cause the build system to successfully fetch source 350These changes would cause the build system to successfully fetch source
351over HTTP and any network accesses to anything other than the 351over HTTP and any network accesses to anything other than the
352``PREMIRRORS`` would fail. 352:term:`PREMIRRORS` would fail.
353 353
354The build system also honors the standard shell environment variables 354The build system also honors the standard shell environment variables
355``http_proxy``, ``ftp_proxy``, ``https_proxy``, and ``all_proxy`` to 355``http_proxy``, ``ftp_proxy``, ``https_proxy``, and ``all_proxy`` to