Skip to content
Commit ff9b45c5 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: modpost: 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 processed. This is simpler than parsing *.mod
files in $(MODVERDIR).

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

I removed the single target %.ko from the top Makefile. To make sure
modpost works correctly, vmlinux and the other modules must be built.
You cannot build a particular .ko file alone.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent c35c87d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment