kbuild: refactor the prerequisites of the modpost rule
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 11 Dec 2022 13:04:08 +0000 (22:04 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 14 Dec 2022 06:42:40 +0000 (15:42 +0900)
commit3d57e1b7b1d42d4040f0d993b66ff06beda02c54
tree2c6c6ad858e53923dbe574d8701d552a274cea3a
parentf65a486821cfd363833079b2a7b0769250ee21c9
kbuild: refactor the prerequisites of the modpost rule

The prerequisites of modpost are cluttered. The variables *-if-present
and *-if-needed are unreadable.

It is cleaner to append them into modpost-deps.

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