mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
ANDROID: export: Disable symbol trimming on modules
Trimming non-whitelisted symbols from modules will be useful once we introduce GKI modules, but in the meantime it causes pain downstream for out-of-tree modules as vendors will have to whitelist the symbols they need. The right solution would be to apply the trimming or not to a module based on an explicit list of GKI modules, but as we currently don't have any (nor we have a good way to differentiate them in the kernel build system), let's simply disable the trimming for all modules altogether, and get things unblocked for GKI 1.0. Bug: 148277666 Signed-off-by: Quentin Perret <qperret@google.com> Change-Id: I2513d85c46eefc62c59883b724b6153dd27b3671
This commit is contained in:
parent
a3ded74aa4
commit
64024afaea
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ struct kernel_symbol {
|
|||
#define __EXPORT_SYMBOL_NS(sym, sec, ns)
|
||||
#define __EXPORT_SYMBOL(sym, sec)
|
||||
|
||||
#elif defined(CONFIG_TRIM_UNUSED_KSYMS)
|
||||
#elif defined(CONFIG_TRIM_UNUSED_KSYMS) && !defined(MODULE)
|
||||
|
||||
#include <generated/autoksyms.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue