From: Nicolas Dichtel Date: Mon, 29 Apr 2013 12:15:51 +0000 (+0200) Subject: kbuild: fix make headers_install when path is too long X-Git-Tag: v3.11-rc1~42^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0ff68f1611d6855a06d672989ad5cfea160a4eb;p=pandora-kernel.git 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 Tested-by: Bruce Ashfield Signed-off-by: Michal Marek --- Reading git-diff-tree failed