securemsm-kernel: Compile the SMMU proxy driver with Bazel

Compile the SMMU proxy driver with Bazel.

Change-Id: I3323e2a6fec620354c4f9a6de1270ba9155998af
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
This commit is contained in:
Chris Goldsworthy
2023-04-14 17:14:38 -07:00
parent 46f6032141
commit 2b0e36e377
3 changed files with 20 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ TZLOG_PATH = "tz_log"
HDCP_PATH = "hdcp"
QCEDEV_PATH = "crypto-qti"
QRNG_PATH = "qrng"
SMMU_PROXY_PATH = "smmu-proxy"
# This dictionary holds all the securemsm-kernel modules included by calling register_securemsm_module
securemsm_modules = {}
@@ -121,3 +122,10 @@ register_securemsm_module(
deps = [":qcedev_local_headers",
"%b_qce50_dlkm"],
)
register_securemsm_module(
name = "smmu_proxy_dlkm",
path = SMMU_PROXY_PATH,
srcs = ["qti-smmu-proxy-pvm.c", "qti-smmu-proxy-common.c"],
deps = ["%b_smcinvoke_dlkm", ":smmu_proxy_headers"],
)