1234567891011121314151617181920212223242526272829303132 |
- ENABLE_SECUREMSM_DLKM := false
- ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
- ifeq ($(TARGET_KERNEL_DLKM_SECURE_MSM_OVERRIDE), true)
- ENABLE_SECUREMSM_DLKM := true
- endif
- else
- ENABLE_SECUREMSM_DLKM := true
- endif
- ifeq ($(ENABLE_SECUREMSM_DLKM), true)
- BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/tz_log_dlkm.ko \
- $(KERNEL_MODULES_OUT)/qcedev-mod_dlkm.ko \
- $(KERNEL_MODULES_OUT)/qcrypto-msm_dlkm.ko \
- $(KERNEL_MODULES_OUT)/qce50_dlkm.ko \
- $(KERNEL_MODULES_OUT)/hdcp_qseecom_dlkm.ko \
- $(KERNEL_MODULES_OUT)/qrng_dlkm.ko \
- BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/tz_log_dlkm.ko \
- $(KERNEL_MODULES_OUT)/hdcp_qseecom_dlkm.ko \
- ifeq ($(TARGET_BOARD_AUTO),true)
- BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/qseecom_dlkm.ko
- BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/qseecom_dlkm.ko
- BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD += $(KERNEL_MODULES_OUT)/qseecom_dlkm.ko
- else
- BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/smcinvoke_dlkm.ko
- BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/smcinvoke_dlkm.ko
- BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD += $(KERNEL_MODULES_OUT)/smcinvoke_dlkm.ko
- endif
- endif #ENABLE_SECUREMSM_DLKM
|