1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- # auto-detect subdirs
- ifneq ($(CONFIG_ARCH_QTI_VM), y)
- ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
- include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf
- export
- endif
- ifeq ($(CONFIG_ARCH_SM8150), y)
- include $(srctree)/techpack/audio/config/sm8150auto.conf
- export
- endif
- ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
- include $(srctree)/techpack/audio/config/sm8150auto.conf
- export
- endif
- ifeq ($(CONFIG_ARCH_KONA), y)
- include $(srctree)/techpack/audio/config/konaauto.conf
- endif
- ifeq ($(CONFIG_ARCH_LAHAINA), y)
- include $(srctree)/techpack/audio/config/lahainaauto.conf
- endif
- ifeq ($(CONFIG_ARCH_HOLI), y)
- include $(srctree)/techpack/audio/config/holiauto.conf
- endif
- endif
- # Use USERINCLUDE when you must reference the UAPI directories only.
- USERINCLUDE += \
- -I$(srctree)/techpack/audio/include/uapi/audio
- # Use LINUXINCLUDE when you must reference the include/ directory.
- # Needed to be compatible with the O= option
- LINUXINCLUDE += \
- -I$(srctree)/techpack/audio/include/uapi \
- -I$(srctree)/techpack/audio/include/uapi/audio \
- -I$(srctree)/techpack/audio/include
- ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
- LINUXINCLUDE += \
- -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
- endif
- ifeq ($(CONFIG_ARCH_SM8150), y)
- LINUXINCLUDE += \
- -include $(srctree)/techpack/audio/config/sm8150autoconf.h
- endif
- ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
- LINUXINCLUDE += \
- -include $(srctree)/techpack/audio/config/sm8150autoconf.h
- endif
- ifeq ($(CONFIG_ARCH_KONA), y)
- LINUXINCLUDE += \
- -include $(srctree)/techpack/audio/config/konaautoconf.h
- endif
- ifeq ($(CONFIG_ARCH_LAHAINA), y)
- LINUXINCLUDE += \
- -include $(srctree)/techpack/audio/config/lahainaautoconf.h
- endif
- ifeq ($(CONFIG_ARCH_HOLI), y)
- LINUXINCLUDE += \
- -include $(srctree)/techpack/audio/config/holiautoconf.h
- endif
- obj-y += soc/
- obj-y += dsp/
- obj-y += ipc/
- obj-y += asoc/
|