diff options
author | Kirill Korotaev <dev@openvz.org> | 2006-09-07 13:08:54 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@neptun.ravnborg.org> | 2006-09-25 09:14:30 +0200 |
commit | c53ddacdc08d41f812f1e637d214251d14c07a3d (patch) | |
tree | f049bfa5703ecaac0f9694d2f8f60bfed8845c78 /Makefile | |
parent | 2212692913281e5fddb1c50c8c123378cfc42169 (diff) | |
download | op-kernel-dev-c53ddacdc08d41f812f1e637d214251d14c07a3d.zip op-kernel-dev-c53ddacdc08d41f812f1e637d214251d14c07a3d.tar.gz |
kbuild: fail kernel compilation in case of unresolved module symbols
At stage 2 modpost utility is used to check modules. In case of unresolved
symbols modpost only prints warning.
IMHO it is a good idea to fail compilation process in case of unresolved
symbols (at least in modules coming with kernel), since usually such errors
are left unnoticed, but kernel modules are broken.
- new option '-w' is added to modpost:
if option is specified, modpost only warns about unresolved symbols
- modpost is called with '-w' for external modules in Makefile.modpost
Signed-off-by: Andrey Mirkin <amirkin@sw.ru>
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions