Revert "kbuild: Hack for depmod not handling X.Y versions"
authorMichal Suchanek <msuchanek@suse.de>
Tue, 18 Jul 2023 16:58:43 +0000 (18:58 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 24 Jul 2023 15:59:32 +0000 (00:59 +0900)
commit4d15c9fa058e6dee09324cfc93f48858d4296019
tree41edd5069ca4a4d77bc5339d25222ddfad93c95f
parent356f0cb7efd9563112f18a2c8647ceb6d9f2ccef
Revert "kbuild: Hack for depmod not handling X.Y versions"

Remove hack for ancient version of module-init-tools that was added in
Linux 3.0.

Since then module-init-tools was replaced with kmod.

This hack adds an additional indirection, and causes confusing errors
to be printed when depmod fails.

Reverts commit 8fc62e594253 ("kbuild: Do not write to builddir in modules_install")
Reverts commit bfe5424a8b31 ("kbuild: Hack for depmod not handling X.Y versions")

Link: https://lore.kernel.org/linux-modules/CAK7LNAQMs3QBYfWcLkmOQdbbq7cj=7wWbK=AWhdTC2rAsKHXzQ@mail.gmail.com/
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/depmod.sh