summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2023-01-05 17:56:19 -0800
committerYifan Hong <elsk@google.com>2023-01-10 21:53:51 +0000
commitc7d8de9f745b426b123878fcdb08526353ac4392 (patch)
tree337e23cd6a670656df29f55bdd1c72bfeb4491d0
parent27c8a9fb934021d321937e1f8eb3b003b3bb5a9b (diff)
downloadbuild-c7d8de9f745b426b123878fcdb08526353ac4392.tar.gz
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.bzl2
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)