diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-11 00:52:57 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-15 02:25:11 +0900 |
commit | 16b59cd78595df5d77c535a08537f2d9dae61496 (patch) | |
tree | 6dcf6393c942d20c259a70aed00dd3dc7ee28ec8 /Makefile | |
parent | 33e84f2e79659e410c379b530dac57779f201d15 (diff) | |
download | linux-16b59cd78595df5d77c535a08537f2d9dae61496.tar.bz2 |
kbuild: move the Module.symvers check for external module build
$(objtree)/Module.symvers is not required for descending into
sub-directories. It is needed for the modpost stage.
Move the Module.symvers check to the right place.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1620,10 +1620,10 @@ $(objtree)/Module.symvers: module-dirs := $(addprefix _module_,$(KBUILD_EXTMOD)) PHONY += $(module-dirs) modules -$(module-dirs): prepare $(objtree)/Module.symvers +$(module-dirs): prepare $(Q)$(MAKE) $(build)=$(patsubst _module_%,%,$@) need-modorder=1 -modules: $(module-dirs) +modules: $(module-dirs) $(objtree)/Module.symvers @$(kecho) ' Building modules, stage 2.'; $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost |