]> code.ossystems Code Review - openembedded-core.git/commit
linux-libc-headers: do_install: fix "Argument list too long" error
authorRobert Yang <liezhi.yang@windriver.com>
Sat, 14 Sep 2013 02:48:06 +0000 (02:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Sep 2013 18:25:43 +0000 (19:25 +0100)
commit4e10c45d7c61ac1ccf8b53ef525ca03d3d458bba
tree4abb277d2a8d0edb79e1dc892112dce65c83e7ee
parentba84662bd9fb7575e68c87449e986535a2216b30
linux-libc-headers: do_install: fix "Argument list too long" error

There would be an "Argument list too long" error when the TMPDIR is in a
deep dir, for example, when "len(readlink -f TMPDIR) >= 350 (our
supported value is 410)". Use "$(foreach ,,$(shell echo))" to fix it.

There was already a patch which tried to fix this issue, so squash the
current change into the previous one as Bruce suggested.

[YOCTO #5138]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux-libc-headers/linux-libc-headers/scripts-Makefile.headersinst-install-headers-from-sc.patch