Makefile 949 B

12345678910111213141516171819202122232425262728293031323334
  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.conf
  8. export
  9. endif
  10. # Use USERINCLUDE when you must reference the UAPI directories only.
  11. USERINCLUDE += \
  12. -I$(srctree)/techpack/audio/include/uapi \
  13. # Use LINUXINCLUDE when you must reference the include/ directory.
  14. # Needed to be compatible with the O= option
  15. LINUXINCLUDE += \
  16. -I$(srctree)/techpack/audio/include/uapi \
  17. -I$(srctree)/techpack/audio/include
  18. ifeq ($(CONFIG_ARCH_SDM845), y)
  19. LINUXINCLUDE += \
  20. -include $(srctree)/techpack/audio/config/sdm845autoconf.h
  21. endif
  22. ifeq ($(CONFIG_ARCH_SDM670), y)
  23. LINUXINCLUDE += \
  24. -include $(srctree)/techpack/audio/config/sdm670autoconf.h
  25. endif
  26. obj-y += asoc/
  27. obj-y += dsp/
  28. obj-y += ipc/
  29. obj-y += soc/