mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ANDROID: GKI: enable KMI enforcement
Add android/abi_gki_aarch64.stg as initial ABI representation of the KMI, enable trimming of symbols outside KMI and start enforcing KMI. While this is hard enforcement in the code base, we still allow controlled changes to the ABI until KMI freeze. Test: TH Bug: 269323432 Change-Id: I016fe12aff4d781640340e16a2ae278e6bf5cd84 Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
This commit is contained in:
@@ -29,19 +29,18 @@ _aarch64_additional_kmi_symbol_lists = [
|
||||
|
||||
define_common_kernels(target_configs = {
|
||||
"kernel_aarch64": {
|
||||
# TODO(b/188620248): re-enable trimming
|
||||
"trim_nonlisted_kmi": False,
|
||||
# TODO(b/269346251): re-enable strict mode
|
||||
"kmi_symbol_list_strict_mode": False,
|
||||
"module_implicit_outs": COMMON_GKI_MODULES_LIST,
|
||||
"kmi_symbol_list": "android/abi_gki_aarch64",
|
||||
"additional_kmi_symbol_lists": _aarch64_additional_kmi_symbol_lists,
|
||||
},
|
||||
"kernel_aarch64_16k": {
|
||||
"kmi_symbol_list_strict_mode": False,
|
||||
"module_implicit_outs": COMMON_GKI_MODULES_LIST,
|
||||
},
|
||||
"kernel_aarch64_debug": {
|
||||
# TODO(b/188620248): re-enable trimming
|
||||
"trim_nonlisted_kmi": False,
|
||||
# TODO(b/269346251): re-enable strict mode
|
||||
"kmi_symbol_list_strict_mode": False,
|
||||
"module_implicit_outs": COMMON_GKI_MODULES_LIST,
|
||||
"kmi_symbol_list": "android/abi_gki_aarch64",
|
||||
|
||||
340477
android/abi_gki_aarch64.stg
Normal file
340477
android/abi_gki_aarch64.stg
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user