ANDROID: kleaf: Rename allmodconfig targets
* This is to follow the convention:
kernel_<arch>_<target>
Bug: 260313194
Change-Id: I735356b130499b579b743b270164824c09c42497
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
diff --git a/BUILD.bazel b/BUILD.bazel
index f47bb4e..ac720fc 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -11,17 +11,17 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+load("//build/bazel_common_rules/dist:dist.bzl", "copy_to_dist_dir")
+load("//build/kernel/kleaf:common_kernels.bzl", "define_common_kernels", "define_db845c")
+load("//build/kernel/kleaf:kernel.bzl", "ddk_headers", "kernel_build", "kernel_images", "kernel_modules_install")
+load(":modules.bzl", "COMMON_GKI_MODULES_LIST")
+
package(
default_visibility = [
"//visibility:public",
],
)
-load("//build/bazel_common_rules/dist:dist.bzl", "copy_to_dist_dir")
-load("//build/kernel/kleaf:common_kernels.bzl", "define_common_kernels", "define_db845c")
-load("//build/kernel/kleaf:kernel.bzl", "ddk_headers", "kernel_build", "kernel_images", "kernel_modules_install")
-load(":modules.bzl", "COMMON_GKI_MODULES_LIST")
-
_aarch64_additional_kmi_symbol_lists = [
# keep sorted
"android/abi_gki_aarch64_db845c",
@@ -353,9 +353,9 @@
# - --allow-undeclared-modules must be used so modules are not declared or copied.
# - No dist target because these are build tests. We don't care about the artifacts.
-# tools/bazel build --allow_undeclared_modules //common:allmodconfig_aarch64
+# tools/bazel build --allow_undeclared_modules //common:kernel_aarch64_allmodconfig
kernel_build(
- name = "allmodconfig_aarch64",
+ name = "kernel_aarch64_allmodconfig",
# Hack to actually check the build.
# Otherwise, Bazel thinks that there are no output files, and skip building.
outs = [".config"],
@@ -363,9 +363,9 @@
visibility = ["//visibility:private"],
)
-# tools/bazel build --allow_undeclared_modules //common:allmodconfig_x86_64
+# tools/bazel build --allow_undeclared_modules //common:kernel_x86_64_allmodconfig
kernel_build(
- name = "allmodconfig_x86_64",
+ name = "kernel_x86_64_allmodconfig",
# Hack to actually check the build.
# Otherwise, Bazel thinks that there are no output files, and skip building.
outs = [".config"],
@@ -373,9 +373,9 @@
visibility = ["//visibility:private"],
)
-# tools/bazel build --allow_undeclared_modules //common:allmodconfig_arm
+# tools/bazel build --allow_undeclared_modules //common:kernel_arm_allmodconfig
kernel_build(
- name = "allmodconfig_arm",
+ name = "kernel_arm_allmodconfig",
# Hack to actually check the build.
# Otherwise, Bazel thinks that there are no output files, and skip building.
outs = [".config"],