
Compile the SMMU proxy driver with Bazel. Change-Id: I3323e2a6fec620354c4f9a6de1270ba9155998af Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
63 wiersze
1.3 KiB
Python
63 wiersze
1.3 KiB
Python
package(
|
|
default_visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|
|
|
|
load("//build/kernel/kleaf:kernel.bzl", "ddk_headers")
|
|
|
|
ddk_headers(
|
|
name = "smcinvoke_kernel_headers",
|
|
hdrs = glob([
|
|
"include/linux/smcinvoke*.h",
|
|
"include/linux/IClientE*.h",
|
|
"include/linux/ITrustedCameraDriver.h",
|
|
"include/linux/CTrustedCameraDriver.h",
|
|
"linux/misc/qseecom_kernel.h",
|
|
"linux/misc/qseecom_priv.h"
|
|
]),
|
|
includes = ["include/linux", "linux", "include"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "securemsm_kernel_headers",
|
|
hdrs = [
|
|
"linux/misc/qseecom_kernel.h",
|
|
"linux/misc/qseecom_priv.h"
|
|
],
|
|
includes = ["linux"]
|
|
)
|
|
ddk_headers(
|
|
name = "hdcp_qseecom_dlkm",
|
|
hdrs = glob([
|
|
"linux/*.h",
|
|
"linux/misc/qseecom_kernel.h",
|
|
"hdcp_qseecom/*.h",
|
|
"config/*.h"
|
|
]),
|
|
includes = [".","linux","config"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "qcedev_local_headers",
|
|
hdrs = glob([
|
|
"linux/*.h",
|
|
"crypto-qti/*.h"
|
|
]),
|
|
includes = [".", "crypto-qti"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "smmu_proxy_headers",
|
|
hdrs = glob([
|
|
"smmu-proxy/*.h",
|
|
"smmu-proxy/linux/*.h",
|
|
"smmu-proxy/uapi/linux/*.h"
|
|
]),
|
|
includes = [".", "smmu-proxy"],
|
|
)
|
|
|
|
load("pineapple.bzl", "define_pineapple")
|
|
|
|
define_pineapple()
|