瀏覽代碼

Merge "securemsm-kernel: Add support for Bazel for niobe"

qctecmdr 1 年之前
父節點
當前提交
7c7cc79348
共有 2 個文件被更改,包括 23 次插入0 次删除
  1. 2 0
      BUILD.bazel
  2. 21 0
      build/niobe.bzl

+ 2 - 0
BUILD.bazel

@@ -76,7 +76,9 @@ ddk_headers(
 load(":build/pineapple.bzl", "define_pineapple")
 load(":build/blair.bzl", "define_blair")
 load(":build/sun.bzl", "define_sun")
+load(":build/niobe.bzl", "define_niobe")
 
 define_pineapple()
 define_blair()
+define_niobe()
 define_sun()

+ 21 - 0
build/niobe.bzl

@@ -0,0 +1,21 @@
+load(":securemsm_kernel.bzl", "define_consolidate_gki_modules")
+
+def define_niobe():
+    define_consolidate_gki_modules(
+        target = "niobe",
+        modules = [
+            "smcinvoke_dlkm",
+            "tz_log_dlkm",
+            "hdcp_qseecom_dlkm",
+            "qce50_dlkm",
+            "qcedev-mod_dlkm",
+            "qrng_dlkm",
+            "qcrypto-msm_dlkm",
+            "smmu_proxy_dlkm",
+            "qseecom_dlkm"
+        ],
+        extra_options = [
+            "CONFIG_QCOM_SMCINVOKE",
+	    "CONFIG_QSEECOM_COMPAT",
+        ],
+    )