Makefile 1.2 KB

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