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:34:55 +0000 (19:34 +0100)
commitd618d7692eebb411bce8709e798d4f8418f9ceee
tree170bdc72d5ee7855a32499f5326f8dc3f666cc1b
parent06c1ed488daf5fb85554bda53fa3772410ffb676
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]

(From OE-Core rev: 4e10c45d7c61ac1ccf8b53ef525ca03d3d458bba)

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