Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. # Use USERINCLUDE when you must reference the UAPI directories only.
  18. USERINCLUDE += \
  19. -I$(srctree)/techpack/audio/include/uapi \
  20. -I$(srctree)/techpack/audio/include
  21. # Use LINUXINCLUDE when you must reference the include/ directory.
  22. # Needed to be compatible with the O= option
  23. LINUXINCLUDE += \
  24. -I$(srctree)/techpack/audio/include/uapi \
  25. -I$(srctree)/techpack/audio/include
  26. ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
  27. LINUXINCLUDE += \
  28. -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
  29. endif
  30. ifeq ($(CONFIG_ARCH_SM8150), y)
  31. LINUXINCLUDE += \
  32. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  33. endif
  34. ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
  35. LINUXINCLUDE += \
  36. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  37. endif
  38. ifeq ($(CONFIG_ARCH_KONA), y)
  39. LINUXINCLUDE += \
  40. -include $(srctree)/techpack/audio/config/konaautoconf.h
  41. endif
  42. obj-y += soc/
  43. obj-y += dsp/
  44. obj-y += ipc/
  45. obj-y += asoc/