summaryrefslogtreecommitdiff
path: root/cs35l41/BUILD.bazel
blob: d1e109d7b4c6d4f0e47e7f79cba5a7c904ff5208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# SPDX-License-Identifier: GPL-2.0-or-later

load("//build/kernel/kleaf:kernel.bzl", "kernel_module")

kernel_module(
    name = "cs35l41",
    srcs = glob([
        "**/*.c",
        "**/*.h",
    ]) + [
        "//private/google-modules/amplifiers/snd_soc_wm_adsp:headers",
    ],
    outs = [
        "snd-soc-cs35l41.ko",
        "snd-soc-cs35l41-i2c.ko",
        "snd-soc-cs35l41-spi.ko",
    ],
    kernel_build = "//private/google-modules/soc/gs:gs_kernel_build",
    visibility = [
        "//private/google-modules/soc/gs:__pkg__",
    ],
    deps = [
        "//private/google-modules/amplifiers/snd_soc_wm_adsp:snd-soc-wm-adsp",
    ],
)