summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Francis <Alistair.Francis@wdc.com>2019-01-04 00:28:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-07 17:23:07 +0000
commit95c78d2166d3f8f47146ad7542569b25794dab6b (patch)
tree6782fc39079227fa57154e0e86968063ba79f9f4
parentf8502c68163ec288cf6fb6754829b455501b4a05 (diff)
downloadopenembedded-core-contrib-95c78d2166d3f8f47146ad7542569b25794dab6b.tar.gz
openembedded-core-contrib-95c78d2166d3f8f47146ad7542569b25794dab6b.tar.bz2
openembedded-core-contrib-95c78d2166d3f8f47146ad7542569b25794dab6b.zip
swig: Fix configure failure
Fix the swig build failure by calling the default do_configure from autotools. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/swig/swig.inc10
1 files changed, 2 insertions, 8 deletions
diff --git a/meta/recipes-devtools/swig/swig.inc b/meta/recipes-devtools/swig/swig.inc
index aec544997f..f7de40866a 100644
--- a/meta/recipes-devtools/swig/swig.inc
+++ b/meta/recipes-devtools/swig/swig.inc
@@ -38,15 +38,9 @@ EXTRA_OECONF = " \
--without-tcl \
"
-BBCLASSEXTEND = "native nativesdk"
+EXTRA_AUTORECONF += "-I Tools/config"
-do_configure() {
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/Tools/config
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/Tools/config
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
- oe_runconf
-}
+BBCLASSEXTEND = "native nativesdk"
do_install_append_class-nativesdk() {
cd ${D}${bindir}