summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlises Mendez Martinez <umendez@google.com>2024-03-27 12:37:19 +0000
committerUlises Mendez Martinez <umendez@google.com>2024-03-27 12:37:19 +0000
commitdeaf288bb57ebd8ed9c73226e09d8b0be46bec54 (patch)
tree883c24f72000bb1273df228e89ef2ca07268f53a
parentf3a3af443a000afc880b6b1c484d2289c9dc698e (diff)
downloadbuild-deaf288bb57ebd8ed9c73226e09d8b0be46bec54.tar.gz
Kleaf: abi: Fix with_vmlinux transition
* Commit a0b0cd9edaf3 introduced a new attribute to disable the extra transition `with_vmlinux`, however while the support for it was added to the `protected_exports` rule its value was not downstreamed causing a third build action even when it was not intended. * This commit solves this by correctly passing the value. Fixes: a0b0cd9edaf3 ("Kleaf: Make trim only transition possible") Bug: 283435842 Change-Id: Id7ca54ac8cba50cd4bcce698ca51200d7ecd8be8 Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
-rw-r--r--kleaf/impl/abi/kernel_abi.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/kleaf/impl/abi/kernel_abi.bzl b/kleaf/impl/abi/kernel_abi.bzl
index 6f26e0f..b665e19 100644
--- a/kleaf/impl/abi/kernel_abi.bzl
+++ b/kleaf/impl/abi/kernel_abi.bzl
@@ -318,6 +318,7 @@ def _define_abi_targets(
name = name + "_protected_exports",
kernel_build = kernel_build,
protected_modules_list_file = name + "_src_protected_modules_list",
+ enable_add_vmlinux = enable_add_vmlinux,
**private_kwargs
)
update_source_file(