Makefile 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # auto-detect subdirs
  2. ifneq ($(CONFIG_ARCH_QTI_VM), y)
  3. ifeq ($(CONFIG_QTI_QUIN_GVM), y)
  4. include $(srctree)/techpack/audio/config/gvmauto.conf
  5. export
  6. endif
  7. ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
  8. include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf
  9. export
  10. endif
  11. ifeq ($(CONFIG_ARCH_SM8150), y)
  12. include $(srctree)/techpack/audio/config/sm8150auto.conf
  13. export
  14. endif
  15. ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
  16. include $(srctree)/techpack/audio/config/sm8150auto.conf
  17. export
  18. endif
  19. ifeq ($(CONFIG_ARCH_KONA), y)
  20. include $(srctree)/techpack/audio/config/konaauto.conf
  21. endif
  22. ifeq ($(CONFIG_ARCH_LAHAINA), y)
  23. include $(srctree)/techpack/audio/config/lahainaauto.conf
  24. endif
  25. ifeq ($(CONFIG_ARCH_HOLI), y)
  26. include $(srctree)/techpack/audio/config/holiauto.conf
  27. endif
  28. endif
  29. # Use USERINCLUDE when you must reference the UAPI directories only.
  30. USERINCLUDE += \
  31. -I$(srctree)/techpack/audio/include/uapi/audio
  32. # Use LINUXINCLUDE when you must reference the include/ directory.
  33. # Needed to be compatible with the O= option
  34. LINUXINCLUDE += \
  35. -I$(srctree)/techpack/audio/include/uapi \
  36. -I$(srctree)/techpack/audio/include/uapi/audio \
  37. -I$(srctree)/techpack/audio/include
  38. ifeq ($(CONFIG_QTI_QUIN_GVM), y)
  39. LINUXINCLUDE += \
  40. -include $(srctree)/techpack/audio/config/gvmautoconf.h
  41. endif
  42. ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
  43. LINUXINCLUDE += \
  44. -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
  45. endif
  46. ifeq ($(CONFIG_ARCH_SM8150), y)
  47. LINUXINCLUDE += \
  48. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  49. endif
  50. ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
  51. LINUXINCLUDE += \
  52. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  53. endif
  54. ifeq ($(CONFIG_ARCH_KONA), y)
  55. LINUXINCLUDE += \
  56. -include $(srctree)/techpack/audio/config/konaautoconf.h
  57. endif
  58. ifeq ($(CONFIG_ARCH_LAHAINA), y)
  59. LINUXINCLUDE += \
  60. -include $(srctree)/techpack/audio/config/lahainaautoconf.h
  61. endif
  62. ifeq ($(CONFIG_ARCH_HOLI), y)
  63. LINUXINCLUDE += \
  64. -include $(srctree)/techpack/audio/config/holiautoconf.h
  65. endif
  66. obj-y += soc/
  67. obj-y += dsp/
  68. obj-y += ipc/
  69. obj-y += asoc/