Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 2dfec88 ("kbuild: reduce the number of mkdir calls during modules_install") Signed-off-by: Michal Kubecek <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
- Loading branch information