Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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/audio \
  29. -I$(srctree)/techpack/audio/include
  30. ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
  31. LINUXINCLUDE += \
  32. -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
  33. endif
  34. ifeq ($(CONFIG_ARCH_SM8150), y)
  35. LINUXINCLUDE += \
  36. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  37. endif
  38. ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
  39. LINUXINCLUDE += \
  40. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  41. endif
  42. ifeq ($(CONFIG_ARCH_KONA), y)
  43. LINUXINCLUDE += \
  44. -include $(srctree)/techpack/audio/config/konaautoconf.h
  45. endif
  46. ifeq ($(CONFIG_ARCH_LAHAINA), y)
  47. LINUXINCLUDE += \
  48. -include $(srctree)/techpack/audio/config/lahainaautoconf.h
  49. endif
  50. obj-y += soc/
  51. obj-y += dsp/
  52. obj-y += ipc/
  53. obj-y += asoc/