diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-12-11 18:49:18 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-12-13 22:28:58 +0900 |
commit | a5db80c65dbf9144de155f8a0f08becc9c307db0 (patch) | |
tree | aea4bf5656eccf5fffd116a69fa5d1e95c2bc81a /scripts/Makefile.modinst | |
parent | fccb3d3eda8d19b893e1fd18e8c70b78784b2a72 (diff) | |
download | lwn-a5db80c65dbf9144de155f8a0f08becc9c307db0.tar.gz lwn-a5db80c65dbf9144de155f8a0f08becc9c307db0.zip |
kbuild: do not sort after reading modules.order
modules.order lists modules in the deterministic order (that is why
"modules order"), and there is no duplication in the list.
$(sort ) is pointless.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'scripts/Makefile.modinst')
-rw-r--r-- | scripts/Makefile.modinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst index a4c987c23750..f4cff42069ad 100644 --- a/scripts/Makefile.modinst +++ b/scripts/Makefile.modinst @@ -9,7 +9,7 @@ __modinst: include include/config/auto.conf include $(srctree)/scripts/Kbuild.include -modules := $(sort $(shell cat $(MODORDER))) +modules := $(shell cat $(MODORDER)) ifeq ($(KBUILD_EXTMOD),) dst := $(MODLIB)/kernel |