diff options
author | Wiebe, Wladislav (Nokia - DE/Ulm) <wladislav.wiebe@nokia.com> | 2019-04-11 09:25:08 +0000 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-04-11 23:11:51 +0900 |
commit | 83da1bed86cdfe3abb2a33c36a2a5aaf5f390ef6 (patch) | |
tree | 00c9e00613849bab13f81c125214edc8f3e87ff9 /mm/sparse.c | |
parent | a788b2ed81abeb949325fd50d7527f45203c1b21 (diff) | |
download | linux-83da1bed86cdfe3abb2a33c36a2a5aaf5f390ef6.tar.bz2 |
modpost: make KBUILD_MODPOST_WARN also configurable for external modules
Commit ea837f1c0503 ("kbuild: make modpost processing configurable")
was intended to give KBUILD_MODPOST_WARN flexibility to be configurable.
Right now KBUILD_MODPOST_WARN gets just ignored when KBUILD_EXTMOD is
set which happens per default when building modules out of the tree.
This change gives the opportunity to define module build behaving also
in case of out of tree builds and default will become exit on error.
Errors which can be detected by the build should be trapped out of the box
there, unless somebody wants to notice broken stuff later at runtime.
As this patch changes the default behaving from warning to error,
users can consider to fix it for external module builds by:
- providing module symbol table via KBUILD_EXTRA_SYMBOLS for
modules which are dependent
- OR getting old behaving back by passing KBUILD_MODPOST_WARN to the build
Signed-off-by: Wladislav Wiebe <wladislav.wiebe@nokia.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions