summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill McVicker <willmcvicker@google.com>2023-04-03 14:21:59 -0700
committerWill McVicker <willmcvicker@google.com>2023-04-03 14:21:59 -0700
commit8e9c93d71863d29fd2596cd7b74046fe341839ee (patch)
tree30b6dcb19d4b9ef8f547f2317c9ba6303bed7aaa
parentb3e83cf4447b5b94d3f2e5011183d7dd937daf16 (diff)
downloadbcm4389-8e9c93d71863d29fd2596cd7b74046fe341839ee.tar.gz
kleaf: add support for generic build labels
Switch to using generic build labels so that this module can be built with multiple different device variants. Change-Id: Ic82fa7f24db54ae01fa04f92dd01d81eb0aa74c3 Signed-off-by: Will McVicker <willmcvicker@google.com>
-rw-r--r--BUILD.bazel16
1 files changed, 5 insertions, 11 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index dd38ce3..3f60a26 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -1,30 +1,24 @@
-# NOTE: THIS FILE IS EXPERIMENTAL FOR THE BAZEL MIGRATION AND NOT USED FOR
-# YOUR BUILDS CURRENTLY.
-#
-# It is not yet the source of truth for your build. If you're looking to modify
-# the build file, modify the Android.bp file instead. Do *not* modify this file
-# unless you have coordinated with the team managing the Soong to Bazel
-# migration.
+# SPDX-License-Identifier: GPL-2.0-or-later
load("//build/kernel/kleaf:kernel.bzl", "kernel_module")
kernel_module(
- name = "bcmdhd4389.slider",
+ name = "bcmdhd4389",
srcs = glob([
"**/*.c",
"**/*.h",
"Kbuild",
]) + [
- "//private/google-modules/soc/gs:gs101_soc_headers",
+ "//private/google-modules/soc/gs:gs_soc_headers",
],
outs = [
"bcmdhd4389.ko",
],
- kernel_build = "//private/google-modules/soc/gs:slider",
+ kernel_build = "//private/google-modules/soc/gs:gs_kernel_build",
visibility = [
"//private/google-modules/soc/gs:__pkg__",
],
deps = [
- "//private/google-modules/soc/gs:gs101_soc",
+ "//private/google-modules/soc/gs:gs_soc_module",
],
)