Makefile 1.7 KB

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