Makefile 709 B

1234567891011121314151617181920212223
  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 += drivers/
  19. obj-y += sound/