Android.mk 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. #################################################