Pārlūkot izejas kodu

securemsm-kernel: compile only smcinvoke on LE

Change-Id: I13c0794a621f62165a2e6cb0eb1eb117325ee097
Griffin Stamp 3 gadi atpakaļ
vecāks
revīzija
31689a70c8
2 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 4 0
      Kbuild
  2. 6 0
      config/sec-kernel_defconfig_tvm.conf

+ 4 - 0
Kbuild

@@ -1,4 +1,8 @@
+ifeq ($(CONFIG_ARCH_QTI_VM), y)
+include $(SSG_MODULE_ROOT)/config/sec-kernel_defconfig_tvm.conf
+else
 include $(SSG_MODULE_ROOT)/config/sec-kernel_defconfig.conf
+endif
 
 LINUXINCLUDE += -I$(SSG_MODULE_ROOT)/ \
                 -I$(SSG_MODULE_ROOT)/linux/

+ 6 - 0
config/sec-kernel_defconfig_tvm.conf

@@ -0,0 +1,6 @@
+export CONFIG_QCOM_SMCINVOKE=m
+export CONFIG_QTI_TZ_LOG=n
+export CONFIG_CRYPTO_DEV_QCEDEV=n
+export CONFIG_CRYPTO_DEV_QCRYPTO=n
+export CONFIG_HDCP_QSEECOM=n
+export CONFIG_HW_RANDOM_MSM_LEGACY=n