diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2013-04-29 16:15:51 +0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-05-18 00:10:35 +0400 |
commit | c0ff68f1611d6855a06d672989ad5cfea160a4eb (patch) | |
tree | 66ce2b9af5930b2a0568d272dd93cbf4890693d8 /drivers/ata | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) | |
download | linux-c0ff68f1611d6855a06d672989ad5cfea160a4eb.tar.xz |
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 'drivers/ata')
0 files changed, 0 insertions, 0 deletions