Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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_SM8150), y)
  15. include $(srctree)/techpack/audio/config/sm8150auto.conf
  16. export
  17. endif
  18. ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
  19. include $(srctree)/techpack/audio/config/sm8150auto.conf
  20. export
  21. endif
  22. # Use USERINCLUDE when you must reference the UAPI directories only.
  23. USERINCLUDE += \
  24. -I$(srctree)/techpack/audio/include/uapi \
  25. # Use LINUXINCLUDE when you must reference the include/ directory.
  26. # Needed to be compatible with the O= option
  27. LINUXINCLUDE += \
  28. -I$(srctree)/techpack/audio/include/uapi \
  29. -I$(srctree)/techpack/audio/include
  30. ifeq ($(CONFIG_ARCH_SDM845), y)
  31. LINUXINCLUDE += \
  32. -include $(srctree)/techpack/audio/config/sdm845autoconf.h
  33. endif
  34. ifeq ($(CONFIG_ARCH_SDM670), y)
  35. LINUXINCLUDE += \
  36. -include $(srctree)/techpack/audio/config/sdm670autoconf.h
  37. endif
  38. ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
  39. LINUXINCLUDE += \
  40. -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
  41. endif
  42. ifeq ($(CONFIG_ARCH_SM8150), y)
  43. LINUXINCLUDE += \
  44. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  45. endif
  46. ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
  47. LINUXINCLUDE += \
  48. -include $(srctree)/techpack/audio/config/sm8150autoconf.h
  49. endif
  50. obj-y += soc/
  51. obj-y += dsp/
  52. obj-y += ipc/
  53. obj-y += asoc/