kbuild: modinst: read modules.order instead of $(MODVERDIR)/*.mod
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 Jul 2019 06:17:53 +0000 (15:17 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 Jul 2019 13:39:27 +0000 (22:39 +0900)
commitd56aec102c0c462b94513421726e33938695cef4
treecfef375ced4258f8bb119d6882daf5e366eb0808
parent0e5d8b7fb2c675b4fe45adee289e640e848dd881
kbuild: modinst: read modules.order instead of $(MODVERDIR)/*.mod

Towards the goal of removing MODVERDIR, read out modules.order to get
the list of modules to be installed. This is simpler than parsing *.mod
files in $(MODVERDIR).

For external modules, $(KBUILD_EXTMOD)/modules.order should be read.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.modinst