diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-17 08:17:55 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-17 19:16:27 +0200 |
commit | ff9b45c55b2659d14420424da0ce4e8aa3dbce28 (patch) | |
tree | d913ed94c68666a7b76223f47abc092e6f36444c /Makefile | |
parent | kbuild: modsign: read modules.order instead of $(MODVERDIR)/*.mod (diff) | |
download | linux-ff9b45c55b2659d14420424da0ce4e8aa3dbce28.tar.xz linux-ff9b45c55b2659d14420424da0ce4e8aa3dbce28.zip |
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: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1772,8 +1772,6 @@ build-dir = $(patsubst %/,%,$(dir $(build-target))) $(Q)$(MAKE) $(build)=$(build-dir) $(build-target) %.symtypes: prepare FORCE $(Q)$(MAKE) $(build)=$(build-dir) $(build-target) -%.ko: %.o - $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost # Modules PHONY += / |