summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tar/tar.inc
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2015-03-11 23:14:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-22 14:42:17 +0000
commitcbce06a172c0fd0979e3f1fc6dcd4e24e235c30a (patch)
tree1e00bae9f5475bcffd41d16e9acab0d0feab8198 /meta/recipes-extended/tar/tar.inc
parent98487ccb5f10b20509c63238b677a3fd4674e9d0 (diff)
downloadpoky-cbce06a172c0fd0979e3f1fc6dcd4e24e235c30a.tar.gz
tar: set acpaths to avoid "Argument list too long" error
There would be an error when the TMPDIR is long/deep, for example when len(TMPDIR) = 410 while our supported longest value is 410: aclocal: error: cannot open xxx autoreconf: aclocal failed with exit status: 1 ERROR: autoreconf execution failed. Let aclocal use the relative path for the m4 file rather than the absolute would fix the problem. [YOCTO #6138] (From OE-Core rev: 747333764231d0320bdefbcf192b2589e70c58a1) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/tar/tar.inc')
-rw-r--r--meta/recipes-extended/tar/tar.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc
index fb5db78f69..de2ed3108e 100644
--- a/meta/recipes-extended/tar/tar.inc
+++ b/meta/recipes-extended/tar/tar.inc
@@ -10,6 +10,12 @@ inherit autotools gettext texinfo
10 10
11EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}" 11EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}"
12 12
13# Let aclocal use the relative path for the m4 file rather than the
14# absolute since tar has a lot of m4 files, otherwise there might
15# be an "Argument list too long" error when it is built in a long/deep
16# directory.
17acpaths = "-I ./m4"
18
13EXTRAINSTALL = "do_install_extra" 19EXTRAINSTALL = "do_install_extra"
14EXTRAINSTALL_class-nativesdk = "" 20EXTRAINSTALL_class-nativesdk = ""
15 21