diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-29 17:04:13 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-29 17:04:13 +0100 |
commit | fcfbc7b1e786e26f61985dbf7188e023e4366d26 (patch) | |
tree | 9320447419d8f6a97de5e9b91b8394631410fc19 | |
parent | 93f357d6572d969c2332a1f5d5b445c91c1e1bd6 (diff) | |
download | openembedded-core-fcfbc7b1e786e26f61985dbf7188e023e4366d26.tar.gz openembedded-core-fcfbc7b1e786e26f61985dbf7188e023e4366d26.tar.bz2 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>
-rw-r--r-- | meta/classes/autotools.bbclass | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 3853268a77..afb1d672ea 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..." |