summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3853268a77..afb1d672ea 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -43,26 +43,28 @@ def autotools_set_crosscompiling(d):
43 43
44# EXTRA_OECONF_append = "${@autotools_set_crosscompiling(d)}" 44# EXTRA_OECONF_append = "${@autotools_set_crosscompiling(d)}"
45 45
46CONFIGUREOPTS = " --build=${BUILD_SYS} \
47 --host=${HOST_SYS} \
48 --target=${TARGET_SYS} \
49 --prefix=${prefix} \
50 --exec_prefix=${exec_prefix} \
51 --bindir=${bindir} \
52 --sbindir=${sbindir} \
53 --libexecdir=${libexecdir} \
54 --datadir=${datadir} \
55 --sysconfdir=${sysconfdir} \
56 --sharedstatedir=${sharedstatedir} \
57 --localstatedir=${localstatedir} \
58 --libdir=${libdir} \
59 --includedir=${includedir} \
60 --oldincludedir=${oldincludedir} \
61 --infodir=${infodir} \
62 --mandir=${mandir}"
63
46oe_runconf () { 64oe_runconf () {
47 if [ -x ${S}/configure ] ; then 65 if [ -x ${S}/configure ] ; then
48 cfgcmd="${S}/configure \ 66 cfgcmd="${S}/configure \
49 --build=${BUILD_SYS} \ 67 ${CONFIGUREOPTS} \
50 --host=${HOST_SYS} \
51 --target=${TARGET_SYS} \
52 --prefix=${prefix} \
53 --exec_prefix=${exec_prefix} \
54 --bindir=${bindir} \
55 --sbindir=${sbindir} \
56 --libexecdir=${libexecdir} \
57 --datadir=${datadir} \
58 --sysconfdir=${sysconfdir} \
59 --sharedstatedir=${sharedstatedir} \
60 --localstatedir=${localstatedir} \
61 --libdir=${libdir} \
62 --includedir=${includedir} \
63 --oldincludedir=${oldincludedir} \
64 --infodir=${infodir} \
65 --mandir=${mandir} \
66 ${EXTRA_OECONF} \ 68 ${EXTRA_OECONF} \
67 $@" 69 $@"
68 oenote "Running $cfgcmd..." 70 oenote "Running $cfgcmd..."