On Fri, Apr 26, 2013 at 06:36:38PM +0200, Nicolas Dichtel wrote: > 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 path, I have tree input-files list, one per > path. > > Signed-off-by: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx> > --- > > I come back to this issue. Here is another proposal to fix this pb. > Comments are welcome. > > scripts/Makefile.headersinst | 20 ++++++++++++++------ > scripts/headers_install.pl | 8 ++++---- In the kbuild tree the perl script has been replaced by a shell script. You should base you patch on the kbuild-tree (or -next). Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html