kbuild: refactor scripts/Makefile.modinst
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 31 Mar 2021 13:38:07 +0000 (22:38 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Apr 2021 20:23:17 +0000 (05:23 +0900)
commitccae4cfa7bfbec323abc399228e0ada7c377b16b
tree75591c0c836b8458b32a2c00d2d0bfaf6d2506ed
parent7f69180b8e905fe13559573b89245f6256b99434
kbuild: refactor scripts/Makefile.modinst

scripts/Makefile.modinst is ugly and weird in multiple ways; it
specifies real files $(modules) as phony, makes directory manipulation
needlessly too complicated.

Clean up the Makefile code, and show the full path of installed modules
in the log.

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