Android.mk 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # Android makefile for audio kernel modules
  2. LOCAL_PATH := $(call my-dir)
  3. DLKM_DIR := $(TOP)/device/qcom/common/dlkm
  4. SSG_SRC_FILES := \
  5. $(wildcard $(LOCAL_PATH)/*) \
  6. $(wildcard $(LOCAL_PATH)/*/*) \
  7. $(wildcard $(LOCAL_PATH)/*/*/*) \
  8. $(wildcard $(LOCAL_PATH)/*/*/*/*)
  9. #$(error $(SSG_SRC_FILES))
  10. include $(CLEAR_VARS)
  11. #LOCAL_SRC_FILES := $(SSG_SRC_FILES)
  12. LOCAL_MODULE := smcinvoke_dlkm.ko
  13. LOCAL_MODULE_KBUILD_NAME := smcinvoke_dlkm.ko
  14. LOCAL_MODULE_TAGS := optional
  15. LOCAL_MODULE_DEBUG_ENABLE := true
  16. LOCAL_HEADER_LIBRARIES := smcinvoke_kernel_headers
  17. LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
  18. include $(DLKM_DIR)/Build_external_kernelmodule.mk
  19. ##################################################
  20. include $(CLEAR_VARS)
  21. LOCAL_SRC_FILES := $(SSG_SRC_FILES)
  22. LOCAL_MODULE := tz_log_dlkm.ko
  23. LOCAL_MODULE_KBUILD_NAME := tz_log_dlkm.ko
  24. LOCAL_MODULE_TAGS := optional
  25. LOCAL_MODULE_DEBUG_ENABLE := true
  26. LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
  27. include $(DLKM_DIR)/Build_external_kernelmodule.mk
  28. #################################################
  29. ##################################################
  30. include $(CLEAR_VARS)
  31. LOCAL_SRC_FILES := $(SSG_SRC_FILES)
  32. LOCAL_MODULE := qce50_dlkm.ko
  33. LOCAL_MODULE_KBUILD_NAME := qce50_dlkm.ko
  34. LOCAL_MODULE_TAGS := optional
  35. LOCAL_MODULE_DEBUG_ENABLE := true
  36. LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
  37. include $(DLKM_DIR)/Build_external_kernelmodule.mk
  38. #################################################
  39. ##################################################
  40. include $(CLEAR_VARS)
  41. LOCAL_SRC_FILES := $(SSG_SRC_FILES)
  42. LOCAL_MODULE := qcedev-mod_dlkm.ko
  43. LOCAL_MODULE_KBUILD_NAME := qcedev-mod_dlkm.ko
  44. LOCAL_MODULE_TAGS := optional
  45. LOCAL_MODULE_DEBUG_ENABLE := true
  46. LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
  47. include $(DLKM_DIR)/Build_external_kernelmodule.mk
  48. #################################################
  49. ##################################################
  50. include $(CLEAR_VARS)
  51. LOCAL_SRC_FILES := $(SSG_SRC_FILES)
  52. LOCAL_MODULE := qcrypto-msm_dlkm.ko
  53. LOCAL_MODULE_KBUILD_NAME := qcrypto-msm_dlkm.ko
  54. LOCAL_MODULE_TAGS := optional
  55. LOCAL_MODULE_DEBUG_ENABLE := true
  56. LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
  57. include $(DLKM_DIR)/Build_external_kernelmodule.mk
  58. #################################################
  59. #################################################
  60. include $(CLEAR_VARS)
  61. LOCAL_SRC_FILES := $(SSG_SRC_FILES)
  62. LOCAL_MODULE := hdcp_qseecom_dlkm.ko
  63. LOCAL_MODULE_KBUILD_NAME := hdcp_qseecom_dlkm.ko
  64. LOCAL_MODULE_TAGS := optional
  65. LOCAL_MODULE_DEBUG_ENABLE := true
  66. LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
  67. include $(DLKM_DIR)/Build_external_kernelmodule.mk
  68. #################################################
  69. #################################################
  70. include $(CLEAR_VARS)
  71. LOCAL_SRC_FILES := $(SSG_SRC_FILES)
  72. LOCAL_MODULE := qrng_dlkm.ko
  73. LOCAL_MODULE_KBUILD_NAME := qrng_dlkm.ko
  74. LOCAL_MODULE_TAGS := optional
  75. LOCAL_MODULE_DEBUG_ENABLE := true
  76. LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
  77. include $(DLKM_DIR)/Build_external_kernelmodule.mk
  78. #################################################