kbuild: move module strip/compression code into scripts/Makefile.modinst
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 31 Mar 2021 13:38:08 +0000 (22:38 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Apr 2021 20:23:36 +0000 (05:23 +0900)
commit65ce9c38326e2588fcd1a3a4817c14b4660f430b
treebbda867c95e2a8af23d65183e0b169ef2e52b1d9
parentccae4cfa7bfbec323abc399228e0ada7c377b16b
kbuild: move module strip/compression code into scripts/Makefile.modinst

Both mod_strip_cmd and mod_compress_cmd are only used in
scripts/Makefile.modinst, hence there is no good reason to define them
in the top Makefile. Move the relevant code to scripts/Makefile.modinst.

Also, show separate log messages for each of install, strip, sign, and
compress.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile
scripts/Makefile.modinst