]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ref-manual: Updates to some variables per review comments.
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Thu, 12 Feb 2015 15:30:01 +0000 (07:30 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Feb 2015 15:17:02 +0000 (15:17 +0000)
Updates to the following:

  BUILD_ARCH
  SOURCE_MIRROR_FETCH
  TARGET_PREFIX
  SDK_PREFIX
  SDK_SYS (I added this one new).

(From yocto-docs rev: ad5f9b56dc912783b415b30604456bd5071f9721)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/ref-manual/ref-variables.xml

index 9caebf49f57f74dc5c3f167d725b8c58d118b708..6ecfaf8f63841f19cd3e9546628eb77319422741 100644 (file)
@@ -1220,7 +1220,7 @@ meta/conf/machine/include/<architecture>/arch-<architecture>.inc
             </info>
             <glossdef>
                 <para>
-                    Specifies the architecture of the build system
+                    Specifies the architecture of the build host
                     (e.g. <filename>i686</filename>).
                     The OpenEmbedded build system sets the value of
                     <filename>BUILD_ARCH</filename> from the machine name
@@ -1344,6 +1344,31 @@ meta/conf/machine/include/<architecture>/arch-<architecture>.inc
             </glossdef>
         </glossentry>
 
+        <glossentry id='var-BUILD_SYS'><glossterm>BUILD_SYS<imagedata fileref="figures/define-generic.png" /></glossterm>
+            <info>
+                BUILD_SYS[doc] = "The toolchain binary prefix used for native recipes."
+            </info>
+            <glossdef>
+                <para>
+                    Specifies the system, including the architecture and
+                    the operating system, to use when building for the build
+                    host (i.e. when building <filename>native</filename>
+                    recipes).
+                </para>
+
+                <para>
+                    The OpenEmbedded build system automatically sets this
+                    variable based on
+                    <link linkend='var-BUILD_ARCH'><filename>BUILD_ARCH</filename></link>,
+                    <link linkend='var-BUILD_VENDOR'><filename>BUILD_VENDOR</filename></link>,
+                    and
+                    <link linkend='var-BUILD_OS'><filename>BUILD_OS</filename></link>.
+                    You do not need to set the <filename>BUILD_SYS</filename>
+                    variable yourself.
+                </para>
+            </glossdef>
+        </glossentry>
+
         <glossentry id='var-BUILD_VENDOR'><glossterm>BUILD_VENDOR<imagedata fileref="figures/define-generic.png" /></glossterm>
             <info>
          BUILD_VENDOR[doc] = "The vendor name to use when building for the build host."
@@ -9334,6 +9359,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
                     <filename>SDK_PREFIX</filename> value to set the
                     <link linkend='var-TARGET_PREFIX'><filename>TARGET_PREFIX</filename></link>
                     when building <filename>nativesdk</filename> recipes.
+                    The default value is "${SDK_SYS}-".
                 </para>
             </glossdef>
         </glossentry>
@@ -10946,12 +10972,12 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
 
         <glossentry id='var-TARGET_PREFIX'><glossterm>TARGET_PREFIX<imagedata fileref="figures/define-generic.png" /></glossterm>
             <info>
-                TARGET_PREFIX[doc] = "Toolchain binary prefix for the target tools."
+                TARGET_PREFIX[doc] = "The prefix used for the toolchain binary target tools."
             </info>
             <glossdef>
                 <para>
-                    Specifies the prefix used for the path of the toolchain
-                    binary target tools.
+                    Specifies the prefix used for the toolchain binary target
+                    tools.
                 </para>
 
                 <para>