summaryrefslogtreecommitdiff
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-03-29 17:04:13 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-29 17:04:13 +0100
commitfcfbc7b1e786e26f61985dbf7188e023e4366d26 (patch)
tree9320447419d8f6a97de5e9b91b8394631410fc19 /meta/classes/autotools.bbclass
parent93f357d6572d969c2332a1f5d5b445c91c1e1bd6 (diff)
downloadopenembedded-core-fcfbc7b1e786e26f61985dbf7188e023e4366d26.tar.gz
openembedded-core-fcfbc7b1e786e26f61985dbf7188e023e4366d26.tar.bz2
openembedded-core-fcfbc7b1e786e26f61985dbf7188e023e4366d26.tar.xz
openembedded-core-fcfbc7b1e786e26f61985dbf7188e023e4366d26.zip
autotools.bbclass: Allow extraction of the configure arguments for use in strange testcases
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass36
1 files changed, 19 insertions, 17 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 3853268a7..afb1d672e 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -43,26 +43,28 @@ def autotools_set_crosscompiling(d):
# EXTRA_OECONF_append = "${@autotools_set_crosscompiling(d)}"
+CONFIGUREOPTS = " --build=${BUILD_SYS} \
+ --host=${HOST_SYS} \
+ --target=${TARGET_SYS} \
+ --prefix=${prefix} \
+ --exec_prefix=${exec_prefix} \
+ --bindir=${bindir} \
+ --sbindir=${sbindir} \
+ --libexecdir=${libexecdir} \
+ --datadir=${datadir} \
+ --sysconfdir=${sysconfdir} \
+ --sharedstatedir=${sharedstatedir} \
+ --localstatedir=${localstatedir} \
+ --libdir=${libdir} \
+ --includedir=${includedir} \
+ --oldincludedir=${oldincludedir} \
+ --infodir=${infodir} \
+ --mandir=${mandir}"
+
oe_runconf () {
if [ -x ${S}/configure ] ; then
cfgcmd="${S}/configure \
- --build=${BUILD_SYS} \
- --host=${HOST_SYS} \
- --target=${TARGET_SYS} \
- --prefix=${prefix} \
- --exec_prefix=${exec_prefix} \
- --bindir=${bindir} \
- --sbindir=${sbindir} \
- --libexecdir=${libexecdir} \
- --datadir=${datadir} \
- --sysconfdir=${sysconfdir} \
- --sharedstatedir=${sharedstatedir} \
- --localstatedir=${localstatedir} \
- --libdir=${libdir} \
- --includedir=${includedir} \
- --oldincludedir=${oldincludedir} \
- --infodir=${infodir} \
- --mandir=${mandir} \
+ ${CONFIGUREOPTS} \
${EXTRA_OECONF} \
$@"
oenote "Running $cfgcmd..."