diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2013-04-29 14:15:51 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-05-17 22:10:35 +0200 |
commit | c0ff68f1611d6855a06d672989ad5cfea160a4eb (patch) | |
tree | 66ce2b9af5930b2a0568d272dd93cbf4890693d8 /scripts/Makefile.lib | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) | |
download | op-kernel-dev-c0ff68f1611d6855a06d672989ad5cfea160a4eb.zip op-kernel-dev-c0ff68f1611d6855a06d672989ad5cfea160a4eb.tar.gz |
kbuild: fix make headers_install when path is too long
If headers_install is executed from a deep/long directory structure, the
shell's maximum argument length can be execeeded, which breaks the operation
with:
| make[2]: execvp: /bin/sh: Argument list too long
| make[2]: ***
Instead of passing each files name with the entire path, I give only the file
name without the source path and give this path as a new argument to
headers_install.pl.
Because there is three possible paths, I have tree input-files list, one per
path.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Tested-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions