Kbuild 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ifneq ($(TARGET_BOARD_PLATFORM ), taro)
  2. LINUXINCLUDE += -I$(SSG_MODULE_ROOT)/ \
  3. -I$(SSG_MODULE_ROOT)/linux/ \
  4. -include $(SSG_MODULE_ROOT)/config/sec-kernel_defconfig.h
  5. ifeq ($(CONFIG_ARCH_SA8155),y)
  6. include $(SSG_MODULE_ROOT)/config/sec-kernel_auto_defconfig.conf
  7. obj-$(CONFIG_QSEECOM) += qseecom_dlkm.o
  8. qseecom_dlkm-objs := qseecom/qseecom.o
  9. else
  10. ifeq ($(CONFIG_ARCH_QTI_VM), y)
  11. include $(SSG_MODULE_ROOT)/config/sec-kernel_defconfig_tvm.conf
  12. else
  13. include $(SSG_MODULE_ROOT)/config/sec-kernel_defconfig.conf
  14. endif
  15. obj-$(CONFIG_QCOM_SMCINVOKE) += smcinvoke_dlkm.o
  16. smcinvoke_dlkm-objs := smcinvoke/smcinvoke_kernel.o smcinvoke/smcinvoke.o
  17. endif
  18. obj-$(CONFIG_QTI_TZ_LOG) += tz_log_dlkm.o
  19. tz_log_dlkm-objs := tz_log/tz_log.o
  20. obj-$(CONFIG_CRYPTO_DEV_QCEDEV) += qce50_dlkm.o
  21. qce50_dlkm-objs := crypto-qti/qce50.o
  22. obj-$(CONFIG_CRYPTO_DEV_QCEDEV) += qcedev-mod_dlkm.o
  23. qcedev-mod_dlkm-objs := crypto-qti/qcedev.o crypto-qti/qcedev_smmu.o crypto-qti/compat_qcedev.o
  24. obj-$(CONFIG_CRYPTO_DEV_QCRYPTO) += qcrypto-msm_dlkm.o
  25. qcrypto-msm_dlkm-objs := crypto-qti/qcrypto.o
  26. obj-$(CONFIG_HDCP_QSEECOM) += hdcp_qseecom_dlkm.o
  27. hdcp_qseecom_dlkm-objs := hdcp/hdcp_qseecom.o
  28. obj-$(CONFIG_HW_RANDOM_MSM_LEGACY) += qrng_dlkm.o
  29. qrng_dlkm-objs := qrng/msm_rng.o
  30. endif