]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: show warning if any of symbol dump files is missing
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Jun 2020 05:57:14 +0000 (14:57 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 6 Jun 2020 14:38:12 +0000 (23:38 +0900)
commitbcffd5c631ebb211a602e96845281ce3f53fe7a3
tree02c4b8ae7a9c0ac663f7ed34cc746b536e397f69
parent0e1c28fcc513253b3276f3626a9db50197d0b13e
modpost: show warning if any of symbol dump files is missing

If modpost fails to load a symbol dump file, it cannot check unresolved
symbols, hence module dependency will not be added. Nor CRCs can be added.

Currently, external module builds check only $(objtree)/Module.symvers,
but it should check files specified by KBUILD_EXTRA_SYMBOLS as well.

Move the warning message from the top Makefile to scripts/Makefile.modpost
and print the warning if any dump file is missing.

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