summaryrefslogtreecommitdiff
path: root/scripts/Makefile.modfinal
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-12-11 12:49:18 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2022-12-13 16:28:58 +0300
commita5db80c65dbf9144de155f8a0f08becc9c307db0 (patch)
treeaea4bf5656eccf5fffd116a69fa5d1e95c2bc81a /scripts/Makefile.modfinal
parentfccb3d3eda8d19b893e1fd18e8c70b78784b2a72 (diff)
downloadlinux-a5db80c65dbf9144de155f8a0f08becc9c307db0.tar.xz
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.modfinal')
-rw-r--r--scripts/Makefile.modfinal2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modfinal b/scripts/Makefile.modfinal
index 25bedd83644b..4705d32388f3 100644
--- a/scripts/Makefile.modfinal
+++ b/scripts/Makefile.modfinal
@@ -13,7 +13,7 @@ include $(srctree)/scripts/Kbuild.include
include $(srctree)/scripts/Makefile.lib
# find all modules listed in modules.order
-modules := $(sort $(shell cat $(MODORDER)))
+modules := $(shell cat $(MODORDER))
__modfinal: $(modules)
@: