diff mbox series

[2/2] diffstat: exclude aclocal

Message ID 20170808100901.21858-2-ross.burton@intel.com
State Accepted
Commit 5cc53ea9347035f96a721ab057a338eded5c5c67
Headers show
Series [1/2] diffstat: use HTTP mirror for SRC_URI | expand

Commit Message

Ross Burton Aug. 8, 2017, 10:09 a.m. UTC
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>

---
 meta/recipes-devtools/diffstat/diffstat_1.61.bb | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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}