summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-04-13 02:57:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-14 09:47:08 +0100
commit1593f5de8ad7a325c8a48d54f39a331b6735cb2e (patch)
tree0f50148973b667a0dfdaccdd1fb44c57021cf56c /meta/recipes-extended
parent7b4a8a2fb8dd4567c216c2bc00db2a89b7ff350d (diff)
downloadpoky-1593f5de8ad7a325c8a48d54f39a331b6735cb2e.tar.gz
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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/grep/grep_3.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/grep/grep_3.0.bb b/meta/recipes-extended/grep/grep_3.0.bb
index 6146ef00f3..b2940d5429 100644
--- a/meta/recipes-extended/grep/grep_3.0.bb
+++ b/meta/recipes-extended/grep/grep_3.0.bb
@@ -16,6 +16,9 @@ inherit autotools gettext texinfo pkgconfig
16 16
17EXTRA_OECONF = "--disable-perl-regexp" 17EXTRA_OECONF = "--disable-perl-regexp"
18 18
19# Fix "Argument list too long" error when len(TMPDIR) = 410
20acpaths = "-I ./m4"
21
19do_configure_prepend () { 22do_configure_prepend () {
20 rm -f ${S}/m4/init.m4 23 rm -f ${S}/m4/init.m4
21} 24}