securemsm_kernel_vendor_board.mk 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. ENABLE_SECUREMSM_DLKM := false
  2. ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
  3. ifeq ($(TARGET_KERNEL_DLKM_SECURE_MSM_OVERRIDE), true)
  4. ENABLE_SECUREMSM_DLKM := true
  5. endif
  6. else
  7. ENABLE_SECUREMSM_DLKM := true
  8. endif
  9. ifeq ($(ENABLE_SECUREMSM_DLKM), true)
  10. BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/tz_log_dlkm.ko \
  11. $(KERNEL_MODULES_OUT)/qcedev-mod_dlkm.ko \
  12. $(KERNEL_MODULES_OUT)/qcrypto-msm_dlkm.ko \
  13. $(KERNEL_MODULES_OUT)/qce50_dlkm.ko \
  14. $(KERNEL_MODULES_OUT)/hdcp_qseecom_dlkm.ko \
  15. $(KERNEL_MODULES_OUT)/qrng_dlkm.ko \
  16. BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/tz_log_dlkm.ko \
  17. $(KERNEL_MODULES_OUT)/hdcp_qseecom_dlkm.ko \
  18. ifeq ($(TARGET_BOARD_AUTO),true)
  19. BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/qseecom_dlkm.ko
  20. BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/qseecom_dlkm.ko
  21. BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD += $(KERNEL_MODULES_OUT)/qseecom_dlkm.ko
  22. else
  23. BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/smcinvoke_dlkm.ko
  24. BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/smcinvoke_dlkm.ko
  25. BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD += $(KERNEL_MODULES_OUT)/smcinvoke_dlkm.ko
  26. endif
  27. endif #ENABLE_SECUREMSM_DLKM