Makefile 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. ifeq ($(CONFIG_ARCH_SA8155), y)
  29. include $(srctree)/techpack/audio/config/sa8155auto.conf
  30. export
  31. endif
  32. endif
  33. # Use USERINCLUDE when you must reference the UAPI directories only.
  34. USERINCLUDE += \
  35. -I$(srctree)/techpack/audio/include/uapi/audio
  36. # Use LINUXINCLUDE when you must reference the include/ directory.
  37. # Needed to be compatible with the O= option
  38. LINUXINCLUDE += \
  39. -I$(srctree)/techpack/audio/include/uapi \
  40. -I$(srctree)/techpack/audio/include/uapi/audio \
  41. -I$(srctree)/techpack/audio/include
  42. ifeq ($(CONFIG_QTI_QUIN_GVM), y)
  43. LINUXINCLUDE += \
  44. -include $(srctree)/techpack/audio/config/gvmautoconf.h
  45. endif
  46. ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
  47. LINUXINCLUDE += \
  48. -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
  49. endif
  50. ifeq ($(CONFIG_ARCH_SM8150), y)
  51. LINUXINCLUDE += \
  52. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  53. endif
  54. ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
  55. LINUXINCLUDE += \
  56. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  57. endif
  58. ifeq ($(CONFIG_ARCH_KONA), y)
  59. LINUXINCLUDE += \
  60. -include $(srctree)/techpack/audio/config/konaautoconf.h
  61. endif
  62. ifeq ($(CONFIG_ARCH_LAHAINA), y)
  63. LINUXINCLUDE += \
  64. -include $(srctree)/techpack/audio/config/lahainaautoconf.h
  65. endif
  66. ifeq ($(CONFIG_ARCH_HOLI), y)
  67. LINUXINCLUDE += \
  68. -include $(srctree)/techpack/audio/config/holiautoconf.h
  69. endif
  70. ifeq ($(CONFIG_ARCH_SA8155), y)
  71. LINUXINCLUDE += \
  72. -include $(srctree)/techpack/audio/config/sa8155autoconf.h
  73. endif
  74. obj-y += soc/
  75. obj-y += dsp/
  76. obj-y += ipc/
  77. obj-y += asoc/