diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2023-09-11 10:01:29 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-09-15 02:39:24 +0900 |
commit | 552c5013f2bc648611395ea80df6250aa4fe28f6 (patch) | |
tree | 79d85bafe8e13ef2342bb1f274c0cdf86e02a578 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | c86e9ae5e3ad82969fe395414d1d9f173f8e9fd4 (diff) |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions