m4: do_configure: fix "Argument list too long"

Fixed when len(TMPDIR) =  410:
Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.18/IO/File.pm line 65.

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

(From OE-Core rev: 7e8fece3a09bed18bc72c529b8b471ccbc144bf5)

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-06 03:05:53 -07:00 committed by Richard Purdie
parent af440a00c5
commit 8d26272740
1 changed files with 3 additions and 0 deletions

View File

@ -15,5 +15,8 @@ SRC_URI_append_class-target = "\
file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
"
# Fix "Argument list too long" error when len(TMPDIR) = 410
acpaths = "-I ./m4"
SRC_URI[md5sum] = "a077779db287adf4e12a035029002d28"
SRC_URI[sha256sum] = "ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab"