aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-04-13 06:38:27 +0000
committerRobert Yang <liezhi.yang@windriver.com>2017-04-13 02:57:51 -0700
commit3cba8a0a575ec52b8e6821598943cdd1826c19db (patch)
tree46f07d0f07462c6e8a7b406cd16b88d08e229825
parent8dda2297e14acc1d586c4e5f1195846f14eb4a52 (diff)
downloadopenembedded-core-contrib-rbt/4fixes.tar.gz
openembedded-core-contrib-rbt/4fixes.tar.bz2
openembedded-core-contrib-rbt/4fixes.zip
grep: do_configure: fix "Argument list too long"rbt/4fixes
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-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
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
}