Makefile 712 B

12345678910111213141516171819202122232425
  1. # auto-detect subdirs
  2. ifeq ($(CONFIG_ARCH_SDM845), y)
  3. include $(srctree)/techpack/audio/config/sdm845auto.conf
  4. export
  5. endif
  6. # Use USERINCLUDE when you must reference the UAPI directories only.
  7. USERINCLUDE += \
  8. -I$(srctree)/techpack/audio/include/uapi \
  9. # Use LINUXINCLUDE when you must reference the include/ directory.
  10. # Needed to be compatible with the O= option
  11. LINUXINCLUDE += \
  12. -I$(srctree)/techpack/audio/include/uapi \
  13. -I$(srctree)/techpack/audio/include
  14. ifeq ($(CONFIG_ARCH_SDM845), y)
  15. LINUXINCLUDE += \
  16. -include $(srctree)/techpack/audio/config/sdm845autoconf.h
  17. endif
  18. obj-y += asoc/
  19. obj-y += dsp/
  20. obj-y += ipc/
  21. obj-y += soc/