summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-10-03 12:25:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-11 08:51:22 +0100
commit8312ba80fa37d8356fc7fc73e469ce1b7741ccea (patch)
tree1b0f7fd121865d0a8788b51b101cafc505f545a5 /documentation
parentaaeb1ee90bdcbe3446bb25cebcc2e104ea93b20d (diff)
downloadpoky-8312ba80fa37d8356fc7fc73e469ce1b7741ccea.tar.gz
ref-manual: Applied review changes to the STAGING_DIR_HOST
I basically moved the note from the bottome to a position within the bulleted list. Fixes [YOCTO #10348] (From yocto-docs rev: a55dc7e0f8465abf8398f51d90bbe2df7e639b3f) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml72
1 files changed, 39 insertions, 33 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 753279cb5b..3e903327a2 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -12708,13 +12708,46 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
12708 following values: 12708 following values:
12709 <itemizedlist> 12709 <itemizedlist>
12710 <listitem><para>For recipes building for the target 12710 <listitem><para>For recipes building for the target
12711 machine, the value is 12711 machine, the value is
12712 "${<link linkend='var-STAGING_DIR'>STAGING_DIR</link>}/${<link linkend='var-MACHINE'>MACHINE</link>}". 12712 "${<link linkend='var-STAGING_DIR'>STAGING_DIR</link>}/${<link linkend='var-MACHINE'>MACHINE</link>}".
12713 </para></listitem> 12713 </para></listitem>
12714 <listitem><para>For native recipes building 12714 <listitem><para>For native recipes building
12715 for the build host, the value is empty given the 12715 for the build host, the value is empty given the
12716 assumption that when building for the build host, 12716 assumption that when building for the build host,
12717 the build host's own directories should be used. 12717 the build host's own directories should be used.
12718 <note><para>
12719 <filename>-native</filename> recipes are not
12720 installed into host paths like such as
12721 <filename>/usr</filename>.
12722 Rather, these recipes are installed into
12723 <filename>STAGING_DIR_NATIVE</filename>.
12724 When compiling <filename>-native</filename>
12725 recipes, standard build environment variables
12726 such as
12727 <link linkend='var-CPPFLAGS'><filename>CPPFLAGS</filename></link>
12728 and
12729 <link linkend='var-CFLAGS'><filename>CFLAGS</filename></link>
12730 are set up so that both host paths and
12731 <filename>STAGING_DIR_NATIVE</filename> are
12732 searched for libraries and headers using, for
12733 example, GCC's <filename>-isystem</filename>
12734 option.</para>
12735
12736 <para>This emphasizes that the
12737 <filename>STAGING_DIR*</filename> variables
12738 should be viewed as input variables by tasks
12739 such as
12740 <link linkend='ref-tasks-configure'><filename>do_configure</filename></link>,
12741 <link linkend='ref-tasks-compile'><filename>do_compile</filename></link>,
12742 and
12743 <link linkend='ref-tasks-install'><filename>do_install</filename></link>.
12744 Having the real system root correspond to
12745 <filename>STAGING_DIR_HOST</filename> makes
12746 conceptual sense for
12747 <filename>-native</filename> recipes, as
12748 they make use of host headers and libraries.
12749 </para>
12750 </note>
12718 </para></listitem> 12751 </para></listitem>
12719 <listitem><para>For native SDK 12752 <listitem><para>For native SDK
12720 recipes that build for the SDK 12753 recipes that build for the SDK
@@ -12722,33 +12755,6 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
12722 "${STAGING_DIR}/${<link linkend='var-MULTIMACH_HOST_SYS'>MULTIMACH_HOST_SYS</link>}". 12755 "${STAGING_DIR}/${<link linkend='var-MULTIMACH_HOST_SYS'>MULTIMACH_HOST_SYS</link>}".
12723 </para></listitem> 12756 </para></listitem>
12724 </itemizedlist> 12757 </itemizedlist>
12725 <note><para>
12726 <filename>-native</filename> recipes are not installed
12727 into host paths like such as <filename>/usr</filename>.
12728 Rather, these recipes are installed into
12729 <filename>STAGING_DIR_NATIVE</filename>.
12730 When compiling <filename>-native</filename> recipes,
12731 standard build environment variables such as
12732 <link linkend='var-CPPFLAGS'><filename>CPPFLAGS</filename></link>
12733 and
12734 <link linkend='var-CFLAGS'><filename>CFLAGS</filename></link>
12735 are set up so that both host paths and
12736 <filename>STAGING_DIR_NATIVE</filename> are searched
12737 for libraries and headers using, for example,
12738 GCC's <filename>-isystem</filename> option.</para>
12739
12740 <para>This emphasizes that the
12741 <filename>STAGING_DIR*</filename> variables should be
12742 viewed as input variables by tasks such as
12743 <link linkend='ref-tasks-configure'><filename>do_configure</filename></link>,
12744 <link linkend='ref-tasks-compile'><filename>do_compile</filename></link>,
12745 and
12746 <link linkend='ref-tasks-install'><filename>do_install</filename></link>.
12747 Having the real system root correspond to
12748 <filename>STAGING_DIR_HOST</filename> makes conceptual
12749 sense for <filename>-native</filename> recipes, as
12750 they make use of host headers and libraries.</para>
12751 </note>
12752 </para> 12758 </para>
12753 </glossdef> 12759 </glossdef>
12754 </glossentry> 12760 </glossentry>