diff options
| author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2013-04-29 14:15:51 +0200 |
|---|---|---|
| committer | Sam Thursfield <sam@afuera.me.uk> | 2014-09-24 15:23:19 +0000 |
| commit | df2e1b9168a7ab5dd8149e38b5ac70cdef86d1fa (patch) | |
| tree | fa889b2e3bd52536a0d0090d5d16cdf02b374a66 /scripts/patch-kernel | |
| parent | 2ff4ead2f751aef83b5d846a77c1cfba2184b5af (diff) | |
| download | linux-baserock/v3.8.tar.gz | |
kbuild: fix make headers_install when path is too longbaserock/v3.8
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>
Conflicts:
scripts/Makefile.headersinst
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
