kbuild: Add support for CONFIG_UNUSED_KSYMS_WHITELIST_ONLY
CONFIG_UNUSED_KSYMS_WHITELIST_ONLY extends the support for the
existing CONFIG_UNUSED_KSYMS_WHITELIST in a way that, if enabled,
it would allow the kbuild to export ONLY the symbols that are
supplied as a part of whitelist (and of course the ones exported
by modules). That is, the build would break for modules during
modpost with:
ERROR: "<symbol>" [<module>.ko] undefined!
When enabled, the option is quite useful in build integration
systems to detect if the whitelist file needs an update.
Change-Id: Ica0a270214d4d51f6e2269fdc591fb86acbc4f97
Signed-off-by:  Raghavendra Rao Ananta <rananta@codeaurora.org>
Raghavendra Rao Ananta <rananta@codeaurora.org>
Loading
Please register or sign in to comment
