From 72d1435f20e47339c75ee8dcb8adecbb2bc7516b Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 7 Sep 2016 10:17:42 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/sdk-manual/sdk-extensible.xml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'documentation/sdk-manual') 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 @@ To force the value on the command line, add the variable setting to EXTRA_OEMAKE - within the recipe as follows: + or + PACKAGECONFIG_CONFARGS + within the recipe. + Here is an example using EXTRA_OEMAKE: EXTRA_OEMAKE += "'CC=${CC}' 'CXX=${CXX}'" @@ -1062,9 +1065,12 @@ then a fixed set of arguments is passed to it to enable cross-compilation plus any extras specified by EXTRA_OECONF + or + PACKAGECONFIG_CONFARGS set within the recipe. If you wish to pass additional options, add them to - EXTRA_OECONF. + EXTRA_OECONF or + PACKAGECONFIG_CONFARGS. Other supported build tools have similar variables (e.g. EXTRA_OECMAKE @@ -1072,8 +1078,9 @@ EXTRA_OESCONS for Scons, and so forth). If you need to pass anything on the make - command line, you can use EXTRA_OEMAKE to do - so. + command line, you can use EXTRA_OEMAKE or the + PACKAGECONFIG_CONFARGS + variables to do so. @@ -1081,7 +1088,8 @@ to help you set the arguments listed in the previous paragraph. The command determines the exact options being passed, and shows them to you along with any custom arguments specified through - EXTRA_OECONF. + EXTRA_OECONF or + PACKAGECONFIG_CONFARGS. If applicable, the command also shows you the output of the configure script's "‐‐help" option as a reference. -- cgit v1.2.3-54-g00ecf