2017-07-20 09:01:55 -04:00
|
|
|
# auto-detect subdirs
|
2017-10-03 21:26:08 -04:00
|
|
|
ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
|
|
|
|
include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf
|
|
|
|
export
|
|
|
|
endif
|
2018-04-11 17:10:09 -04:00
|
|
|
ifeq ($(CONFIG_ARCH_SM8150), y)
|
2018-04-12 15:43:13 -04:00
|
|
|
include $(srctree)/techpack/audio/config/sm8150auto.conf
|
2018-01-23 03:56:56 -05:00
|
|
|
export
|
|
|
|
endif
|
2018-03-30 16:57:42 -04:00
|
|
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
2018-04-12 15:43:13 -04:00
|
|
|
include $(srctree)/techpack/audio/config/sm8150auto.conf
|
2018-03-30 16:57:42 -04:00
|
|
|
export
|
|
|
|
endif
|
2019-05-13 18:14:46 -04:00
|
|
|
ifeq ($(CONFIG_ARCH_KONA), y)
|
|
|
|
include $(srctree)/techpack/audio/config/konaauto.conf
|
|
|
|
endif
|
2017-07-20 09:01:55 -04:00
|
|
|
|
|
|
|
# Use USERINCLUDE when you must reference the UAPI directories only.
|
|
|
|
USERINCLUDE += \
|
|
|
|
-I$(srctree)/techpack/audio/include/uapi \
|
2019-05-13 18:14:46 -04:00
|
|
|
-I$(srctree)/techpack/audio/include
|
2017-07-20 09:01:55 -04:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2017-10-03 21:26:08 -04:00
|
|
|
ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
|
|
|
|
LINUXINCLUDE += \
|
|
|
|
-include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
|
|
|
|
endif
|
2018-04-11 17:10:09 -04:00
|
|
|
ifeq ($(CONFIG_ARCH_SM8150), y)
|
2018-01-23 03:56:56 -05:00
|
|
|
LINUXINCLUDE += \
|
2018-04-12 15:43:13 -04:00
|
|
|
-include $(srctree)/techpack/audio/config/sm8150autoconf.h
|
2018-01-23 03:56:56 -05:00
|
|
|
endif
|
2018-03-30 16:57:42 -04:00
|
|
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
|
|
|
LINUXINCLUDE += \
|
2018-04-12 15:43:13 -04:00
|
|
|
-include $(srctree)/techpack/audio/config/sm8150autoconf.h
|
2018-03-30 16:57:42 -04:00
|
|
|
endif
|
2019-05-13 18:14:46 -04:00
|
|
|
ifeq ($(CONFIG_ARCH_KONA), y)
|
|
|
|
LINUXINCLUDE += \
|
|
|
|
-include $(srctree)/techpack/audio/config/konaautoconf.h
|
|
|
|
endif
|
2017-07-20 09:01:55 -04:00
|
|
|
|
2018-05-22 21:04:36 -04:00
|
|
|
obj-y += soc/
|
2017-08-01 12:32:15 -04:00
|
|
|
obj-y += dsp/
|
|
|
|
obj-y += ipc/
|
2018-05-22 21:04:36 -04:00
|
|
|
obj-y += asoc/
|