diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2023-09-11 11:01:29 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-09-14 20:39:24 +0300 |
commit | 552c5013f2bc648611395ea80df6250aa4fe28f6 (patch) | |
tree | 79d85bafe8e13ef2342bb1f274c0cdf86e02a578 /scripts/gdb/linux/proc.py | |
parent | c86e9ae5e3ad82969fe395414d1d9f173f8e9fd4 (diff) | |
download | linux-552c5013f2bc648611395ea80df6250aa4fe28f6.tar.xz |
kbuild: avoid long argument lists in make modules_install
Running "make modules_install" may fail with
make[2]: execvp: /bin/sh: Argument list too long
if many modules are built and INSTALL_MOD_PATH is long. This is because
scripts/Makefile.modinst creates all directories with one mkdir command.
Use $(foreach ...) instead to prevent an excessive argument list.
Fixes: 2dfec887c0fd ("kbuild: reduce the number of mkdir calls during modules_install")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions