ANDROID: build: Add collect_unstripped_modules for ABI

The Kleaf ABI commands require collect_unstripped_modules to be set
to true in the kernel_build.

Since we need to use those commands, add the option when we're
defining other ABI targets.

Change-Id: I20f7d80c9b7938138d875a079c829997fa02913a
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
This commit is contained in:
John Moon 2023-02-09 23:45:20 -08:00
parent 73ba34d98b
commit 08b9092f44

View file

@ -150,6 +150,7 @@ def _define_kernel_build(
base_kernel = base_kernel,
kmi_symbol_list = "//msm-kernel:android/abi_gki_aarch64_qcom" if define_abi_targets else None,
additional_kmi_symbol_lists = ["{}_all_kmi_symbol_lists".format(base_kernel)] if define_abi_targets else None,
collect_unstripped_modules = define_abi_targets,
enable_interceptor = define_compile_commands,
visibility = ["//visibility:public"],
)