diffstat: exclude aclocal

Instead of moving aclocal.m4 to acinclude.m4 in a custom do_configure, simply
tell autoreconf not to run aclocal.

(From OE-Core rev: 5cc53ea9347035f96a721ab057a338eded5c5c67)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2017-08-08 11:09:01 +01:00 committed by Richard Purdie
parent 6f72bf8a3a
commit cb31b00076

View File

@ -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}