grep: do_configure: fix "Argument list too long"

Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo 'm4_define [snip]' configure.ac |: Argument list too long'

This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.

(From OE-Core rev: 081974e75cc0cfa0a1a1bb01cd9f9cbc585b7692)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2017-04-13 02:57:26 -07:00 committed by Richard Purdie
parent 7b4a8a2fb8
commit 1593f5de8a
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ inherit autotools gettext texinfo pkgconfig
EXTRA_OECONF = "--disable-perl-regexp"
# Fix "Argument list too long" error when len(TMPDIR) = 410
acpaths = "-I ./m4"
do_configure_prepend () {
rm -f ${S}/m4/init.m4
}