Makefile 1.6 KB

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