aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-08-08 11:09:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-08 12:52:17 +0100
commit5cc53ea9347035f96a721ab057a338eded5c5c67 (patch)
tree09293f44765e6a8439503d43d5ab95a9b2e14948
parentf31461f8ea11e82dbe14454a1149d9ec2120404d (diff)
downloadopenembedded-core-contrib-5cc53ea9347035f96a721ab057a338eded5c5c67.tar.gz
diffstat: exclude aclocal
Instead of moving aclocal.m4 to acinclude.m4 in a custom do_configure, simply tell autoreconf not to run aclocal. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/diffstat/diffstat_1.61.bb9
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/recipes-devtools/diffstat/diffstat_1.61.bb b/meta/recipes-devtools/diffstat/diffstat_1.61.bb
index 583b387e957..f8b7b06cf24 100644
--- a/meta/recipes-devtools/diffstat/diffstat_1.61.bb
+++ b/meta/recipes-devtools/diffstat/diffstat_1.61.bb
@@ -18,14 +18,9 @@ S = "${WORKDIR}/diffstat-${PV}"
inherit autotools gettext ptest
-LDFLAGS += "${TOOLCHAIN_OPTIONS}"
+EXTRA_AUTORECONF += "--exclude=aclocal"
-do_configure () {
- if [ ! -e ${S}/acinclude.m4 ]; then
- mv ${S}/aclocal.m4 ${S}/acinclude.m4
- fi
- autotools_do_configure
-}
+LDFLAGS += "${TOOLCHAIN_OPTIONS}"
do_install_ptest() {
cp -r ${S}/testing ${D}${PTEST_PATH}