blob: 428179fdefb98f0fe64f8d29aaf540710703a2be [file] [log] [blame]
# SPDX-License-Identifier: GPL-2.0-only
load("//build/kernel/kleaf:kernel.bzl", "kernel_module")
kernel_module(
name = "gxp",
srcs = glob([
"**/*.c",
"**/*.h",
]) + [
"Makefile",
"gcip-kernel-driver/drivers/gcip/Makefile",
"//private/google-modules/power/mitigation:headers",
"//private/google-modules/soc/gs:gs_soc_headers",
],
outs = [
"gxp.ko",
],
kernel_build = "//private/google-modules/soc/gs:gs_kernel_build",
visibility = [
"//private/devices/google:__subpackages__",
"//private/google-modules/soc/gs:__pkg__",
],
deps = [
"//private/google-modules/edgetpu/rio/drivers/edgetpu:edgetpu.rio",
"//private/google-modules/power/mitigation:bcl",
"//private/google-modules/soc/gs:gs_soc_module",
],
)