mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 09:12:05 +03:00
Missing Makefile.t264.sources would cause kleaf build error. Add into 'drivers/tegra/hwpm/BUILD.bazel' to fix this build error. Bug 4344670 Change-Id: Ib0870116c557a29d4c16e0f10057f26bbf24c79a Signed-off-by: Frankie Chang <frankiec@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/3246772 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Vasuki Shankar <vasukis@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
42 lines
903 B
Python
42 lines
903 B
Python
# SPDX-License-Identifier: GPL-2.0-only
|
|
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
load("//build/kernel/kleaf:kernel.bzl", "kernel_module")
|
|
|
|
package(
|
|
default_visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "headers",
|
|
srcs = glob([
|
|
] + [
|
|
"Makefile.hwpm.sources",
|
|
"Makefile.t234.sources",
|
|
"Makefile.t264.sources",
|
|
"Makefile.th500.sources",
|
|
"Makefile.common.sources",
|
|
"Makefile.linux.sources",
|
|
"Makefile.th500.soc.sources",
|
|
]),
|
|
)
|
|
|
|
kernel_module(
|
|
name = "hwpm",
|
|
srcs = glob([
|
|
"**/*.c",
|
|
"**/*.h",
|
|
]) + [
|
|
":headers",
|
|
"//hwpm:hwpm_headers",
|
|
"//nvidia-oot/scripts/conftest:conftest_headers",
|
|
],
|
|
|
|
outs = [
|
|
"nvhwpm.ko",
|
|
],
|
|
kernel_build = "//nvidia-build/kleaf:tegra_android",
|
|
)
|