summaryrefslogtreecommitdiffstats
path: root/documentation/sdk-manual
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-09-07 10:17:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-23 15:27:33 +0100
commit72d1435f20e47339c75ee8dcb8adecbb2bc7516b (patch)
tree672d3932703780c57f24749061559793678c61b4 /documentation/sdk-manual
parent066ecf613f5b6614423e43fc69431784d5531655 (diff)
downloadpoky-72d1435f20e47339c75ee8dcb8adecbb2bc7516b.tar.gz
documentation: Added new description for the PACKAGECONFIG_CONFARGS variable.
Fixes [YOCTO #10183] Added a new variable entry for the PACKAGECONFIG_CONFARGS variable. With the introduction of the new PACKAGECONFIG_CONFARGS variable, many places in the mainstream YP documentation that referenced how to pass configure arguments using EXTRA_OECONF needed to also make mention of this new variable. I added many cross-references to the new variable. (From yocto-docs rev: 00f02d45319bab90b72eab89fcb69cbe8bd05bb5) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/sdk-manual')
-rw-r--r--documentation/sdk-manual/sdk-extensible.xml18
1 files changed, 13 insertions, 5 deletions
diff --git a/documentation/sdk-manual/sdk-extensible.xml b/documentation/sdk-manual/sdk-extensible.xml
index c2360e9f37..86f1e28fc9 100644
--- a/documentation/sdk-manual/sdk-extensible.xml
+++ b/documentation/sdk-manual/sdk-extensible.xml
@@ -849,7 +849,10 @@
849 To force the value on the command line, add the 849 To force the value on the command line, add the
850 variable setting to 850 variable setting to
851 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OEMAKE'><filename>EXTRA_OEMAKE</filename></ulink> 851 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OEMAKE'><filename>EXTRA_OEMAKE</filename></ulink>
852 within the recipe as follows: 852 or
853 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGECONFIG_CONFARGS'><filename>PACKAGECONFIG_CONFARGS</filename></ulink>
854 within the recipe.
855 Here is an example using <filename>EXTRA_OEMAKE</filename>:
853 <literallayout class='monospaced'> 856 <literallayout class='monospaced'>
854 EXTRA_OEMAKE += "'CC=${CC}' 'CXX=${CXX}'" 857 EXTRA_OEMAKE += "'CC=${CC}' 'CXX=${CXX}'"
855 </literallayout> 858 </literallayout>
@@ -1062,9 +1065,12 @@
1062 then a fixed set of arguments is passed to it to enable 1065 then a fixed set of arguments is passed to it to enable
1063 cross-compilation plus any extras specified by 1066 cross-compilation plus any extras specified by
1064 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OECONF'><filename>EXTRA_OECONF</filename></ulink> 1067 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OECONF'><filename>EXTRA_OECONF</filename></ulink>
1068 or
1069 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGECONFIG_CONFARGS'><filename>PACKAGECONFIG_CONFARGS</filename></ulink>
1065 set within the recipe. 1070 set within the recipe.
1066 If you wish to pass additional options, add them to 1071 If you wish to pass additional options, add them to
1067 <filename>EXTRA_OECONF</filename>. 1072 <filename>EXTRA_OECONF</filename> or
1073 <filename>PACKAGECONFIG_CONFARGS</filename>.
1068 Other supported build tools have similar variables 1074 Other supported build tools have similar variables
1069 (e.g. 1075 (e.g.
1070 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OECMAKE'><filename>EXTRA_OECMAKE</filename></ulink> 1076 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OECMAKE'><filename>EXTRA_OECMAKE</filename></ulink>
@@ -1072,8 +1078,9 @@
1072 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OESCONS'><filename>EXTRA_OESCONS</filename></ulink> 1078 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OESCONS'><filename>EXTRA_OESCONS</filename></ulink>
1073 for Scons, and so forth). 1079 for Scons, and so forth).
1074 If you need to pass anything on the <filename>make</filename> 1080 If you need to pass anything on the <filename>make</filename>
1075 command line, you can use <filename>EXTRA_OEMAKE</filename> to do 1081 command line, you can use <filename>EXTRA_OEMAKE</filename> or the
1076 so. 1082 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGECONFIG_CONFARGS'><filename>PACKAGECONFIG_CONFARGS</filename></ulink>
1083 variables to do so.
1077 </para> 1084 </para>
1078 1085
1079 <para> 1086 <para>
@@ -1081,7 +1088,8 @@
1081 to help you set the arguments listed in the previous paragraph. 1088 to help you set the arguments listed in the previous paragraph.
1082 The command determines the exact options being passed, and shows 1089 The command determines the exact options being passed, and shows
1083 them to you along with any custom arguments specified through 1090 them to you along with any custom arguments specified through
1084 <filename>EXTRA_OECONF</filename>. 1091 <filename>EXTRA_OECONF</filename> or
1092 <filename>PACKAGECONFIG_CONFARGS</filename>.
1085 If applicable, the command also shows you the output of the 1093 If applicable, the command also shows you the output of the
1086 configure script's "&dash;&dash;help" option as a reference. 1094 configure script's "&dash;&dash;help" option as a reference.
1087 </para> 1095 </para>