diff options
author | Yifan Hong <elsk@google.com> | 2023-01-05 17:56:19 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2023-01-10 21:53:51 +0000 |
commit | c7d8de9f745b426b123878fcdb08526353ac4392 (patch) | |
tree | 337e23cd6a670656df29f55bdd1c72bfeb4491d0 | |
parent | 27c8a9fb934021d321937e1f8eb3b003b3bb5a9b (diff) | |
download | build-c7d8de9f745b426b123878fcdb08526353ac4392.tar.gz |
kleaf: set KBUILD_SYMTYPES for ABI targets.android-t-qpr2-beta-3_r0.5android-t-qpr2-beta-3_r0.4android-t-qpr2-beta-3_r0.3android-t-qpr2-beta-3.2_r0.6android-gs-raviole-5.10-android13-qpr2-betaandroid-gs-pantah-5.10-t-qpr2-beta-3.2android-gs-pantah-5.10-android13-qpr2-betaandroid-gs-bluejay-5.10-android13-qpr2-beta
This was missing, causing differences in behavior against
build_abi.sh
Test: manual
Bug: 264263657
Change-Id: I8eadf1478c9dbd2afd609e9f6834e029f3c3acf9
-rw-r--r-- | kleaf/impl/abi/kernel_build_abi.bzl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kleaf/impl/abi/kernel_build_abi.bzl b/kleaf/impl/abi/kernel_build_abi.bzl index 4cc3d78..13b33b7 100644 --- a/kleaf/impl/abi/kernel_build_abi.bzl +++ b/kleaf/impl/abi/kernel_build_abi.bzl @@ -175,6 +175,7 @@ def _define_other_targets( with_vmlinux_kwargs["outs"] = kernel_utils.transform_kernel_build_outs(name + "_with_vmlinux", "outs", new_outs) with_vmlinux_kwargs["base_kernel_for_module_outs"] = with_vmlinux_kwargs.pop("base_kernel", default = None) with_vmlinux_kwargs["internal_additional_make_goals"] = ["vmlinux"] + with_vmlinux_kwargs["kbuild_symtypes"] = "true" kernel_build(name = name + "_with_vmlinux", **with_vmlinux_kwargs) else: native.alias(name = name + "_with_vmlinux", actual = name) @@ -264,6 +265,7 @@ def _define_abi_targets( notrim_kwargs["kmi_symbol_list_strict_mode"] = False notrim_kwargs["base_kernel_for_module_outs"] = notrim_kwargs.pop("base_kernel", default = None) notrim_kwargs["internal_additional_make_goals"] = ["vmlinux"] + notrim_kwargs["kbuild_symtypes"] = "true" kernel_build(name = name + "_notrim", **notrim_kwargs) else: native.alias(name = name + "_notrim", actual = name) |