[OE-core] [PATCH 2/2] wget: fix build when len(TMPDIR) == 410

Robert Yang liezhi.yang at windriver.com
Wed Apr 6 09:30:02 UTC 2016


Fixed:
aclocal: error: cannot open [snip] |: Argument list too long

Set acpaths to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/recipes-extended/wget/wget.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
index 049b898..dc381a6 100644
--- a/meta/recipes-extended/wget/wget.inc
+++ b/meta/recipes-extended/wget/wget.inc
@@ -22,3 +22,8 @@ BBCLASSEXTEND += "nativesdk"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[libuuid] = "--with-libuuid, --without-libuuid,util-linux"
+
+# Let aclocal use the relative path for the m4 file rather than
+# absolute, otherwise there might be an "Argument list too long" error
+# when it is built in a long/deep directory.
+acpaths = "-I ./m4"
-- 
2.8.0




More information about the Openembedded-core mailing list