Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # auto-detect subdirs
  2. ifeq ($(CONFIG_ARCH_SDM845), y)
  3. include $(srctree)/techpack/audio/config/sdm845auto.conf
  4. export
  5. endif
  6. ifeq ($(CONFIG_ARCH_SDM670), y)
  7. include $(srctree)/techpack/audio/config/sdm670auto_static.conf
  8. export
  9. endif
  10. ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
  11. include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf
  12. export
  13. endif
  14. ifeq ($(CONFIG_ARCH_SDM855), y)
  15. include $(srctree)/techpack/audio/config/sdm855auto.conf
  16. export
  17. endif
  18. # Use USERINCLUDE when you must reference the UAPI directories only.
  19. USERINCLUDE += \
  20. -I$(srctree)/techpack/audio/include/uapi \
  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_SDM845), y)
  27. LINUXINCLUDE += \
  28. -include $(srctree)/techpack/audio/config/sdm845autoconf.h
  29. endif
  30. ifeq ($(CONFIG_ARCH_SDM670), y)
  31. LINUXINCLUDE += \
  32. -include $(srctree)/techpack/audio/config/sdm670autoconf.h
  33. endif
  34. ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
  35. LINUXINCLUDE += \
  36. -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
  37. endif
  38. ifeq ($(CONFIG_ARCH_SDM855), y)
  39. LINUXINCLUDE += \
  40. -include $(srctree)/techpack/audio/config/sdm855autoconf.h
  41. endif
  42. obj-y += asoc/
  43. obj-y += dsp/
  44. obj-y += ipc/
  45. obj-y += soc/