Securemsm-kernel:hdcp bazel support
Steps to test 1. Create symlink cd kernel_platform mkdir techpacks cd techpacks mkdir securemsm-kernel cd securemsm-kernel ln /vendor/qcom/open-source/securemsm-kernel/* . 2. To compile cd kernel_platfrom tools/bazel run --lto=thin //techpacks/securemsm-kernel:pineapple_consolidate_securemsm-kernel_dist Test done:: Able to compile hdcp DLKM and able to install it at out/target/product/<target>/dlkm/lib/modules Change-Id: Ic2ab2656bd6434944583a12f54920e3db6c15f2d
此提交包含在:
@@ -1,6 +1,7 @@
|
||||
SMCINVOKE_PATH = "smcinvoke"
|
||||
QSEECOM_PATH = "qseecom"
|
||||
TZLOG_PATH = "tz_log"
|
||||
HDCP_PATH = "hdcp"
|
||||
|
||||
# This dictionary holds all the securemsm-kernel modules included by calling register_securemsm_module
|
||||
securemsm_modules = {}
|
||||
@@ -76,3 +77,12 @@ register_securemsm_module(
|
||||
path = TZLOG_PATH,
|
||||
default_srcs = ["tz_log.c"],
|
||||
)
|
||||
|
||||
register_securemsm_module(
|
||||
name = "hdcp_qseecom_dlkm",
|
||||
path = HDCP_PATH,
|
||||
default_srcs = ["hdcp_qseecom.c"],
|
||||
deps = [":hdcp_qseecom_dlkm","%b_smcinvoke_dlkm"],
|
||||
srcs = ["config/sec-kernel_defconfig.h"],
|
||||
copts = ["-include", "config/sec-kernel_defconfig.h"],
|
||||
)
|
||||
|
新增問題並參考
封鎖使用者