OSDN Git Service

kbuild: reduce the number of mkdir calls during modules_install
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 23 Aug 2023 11:50:45 +0000 (20:50 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 1 Sep 2023 06:56:30 +0000 (15:56 +0900)
commit2dfec887c0fd7d25d26b2ba7e60479208f9b6fb8
treed895bba6ffd7faba2c29f230f81dd0dd46dac952
parentd8131c2965d5ee59bfa4d548641e52a13cbe17c9
kbuild: reduce the number of mkdir calls during modules_install

Calling 'mkdir' for every module results in redundant syscalls.

Use $(sort ...) to drop the duplicated directories.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/Makefile.modinst