
Move qseecom headers to securemsm-kernel. Also, cleanup and split of qseecom header done based on usage. These qseecom headers are now exposed to userspace as qseecom_kernel_headers. All the other changes are to take care of compilation dependencies from the above. Tests: Tested in device with local build with qseecom sampleclient cmds. Change-Id: I55442ce7380636a2630c2e372099735fec0756a8 Signed-off-by: Divisha Bisht <quic_divibish@quicinc.com>
79 lines
1.7 KiB
Python
79 lines
1.7 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/uapi/linux/smcinvoke*.h",
|
|
"include/linux/IClientE*.h",
|
|
"include/linux/ITrustedCameraDriver.h",
|
|
"include/linux/CTrustedCameraDriver.h",
|
|
]),
|
|
includes = [
|
|
"include",
|
|
"include/linux",
|
|
"linux",
|
|
"include/uapi/linux",
|
|
],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "qseecom_kernel_headers",
|
|
hdrs = glob([
|
|
"include/uapi/linux/qseecom.h",
|
|
"include/uapi/linux/qseecom_api.h",
|
|
"linux/misc/qseecom_kernel.h",
|
|
"linux/misc/qseecom_priv.h",
|
|
"linux/misc/qseecomi.h",
|
|
]),
|
|
includes = ["linux", "include/uapi", "include/uapi/linux"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "hdcp_qseecom_dlkm",
|
|
hdrs = glob([
|
|
":smcinvoke_kernel_headers",
|
|
"linux/*.h",
|
|
"include/linux/*h",
|
|
"include/smci/uid/*h",
|
|
"include/smci/interface/*h",
|
|
"linux/misc/*.h",
|
|
"config/*.h",
|
|
]),
|
|
includes = [
|
|
".",
|
|
"config",
|
|
"include",
|
|
"linux",
|
|
],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "qcedev_local_headers",
|
|
hdrs = glob([
|
|
"include/uapi/linux/*.h",
|
|
"crypto-qti/*.h"
|
|
]),
|
|
includes = ["include/uapi", "include/uapi/linux", "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()
|