blob: 7fcf4735a07d2c1d6304d2a3d0e38ea5580ae76b [file] [log] [blame]
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +05301# auto-detect subdirs
2ifeq ($(CONFIG_ARCH_SDM845), y)
3include $(srctree)/techpack/audio/config/sdm845auto.conf
4export
5endif
Laxminath Kasam7e057cf2017-08-09 23:55:15 +05306ifeq ($(CONFIG_ARCH_SDM670), y)
Aditya Bavanari68d3ed82018-04-08 14:34:47 +05307include $(srctree)/techpack/audio/config/sdm710auto_static.conf
Laxminath Kasam7e057cf2017-08-09 23:55:15 +05308export
9endif
Xiaoyu Yeafb41612017-10-03 18:26:08 -070010ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
11include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf
12export
13endif
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053014
15# Use USERINCLUDE when you must reference the UAPI directories only.
16USERINCLUDE += \
17 -I$(srctree)/techpack/audio/include/uapi \
18
19# Use LINUXINCLUDE when you must reference the include/ directory.
20# Needed to be compatible with the O= option
21LINUXINCLUDE += \
22 -I$(srctree)/techpack/audio/include/uapi \
23 -I$(srctree)/techpack/audio/include
24
25ifeq ($(CONFIG_ARCH_SDM845), y)
26LINUXINCLUDE += \
27 -include $(srctree)/techpack/audio/config/sdm845autoconf.h
28endif
Laxminath Kasam7e057cf2017-08-09 23:55:15 +053029ifeq ($(CONFIG_ARCH_SDM670), y)
30LINUXINCLUDE += \
Aditya Bavanari68d3ed82018-04-08 14:34:47 +053031 -include $(srctree)/techpack/audio/config/sdm710autoconf.h
Laxminath Kasam7e057cf2017-08-09 23:55:15 +053032endif
Xiaoyu Yeafb41612017-10-03 18:26:08 -070033ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
34LINUXINCLUDE += \
35 -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
36endif
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053037
Laxminath Kasam605b42f2017-08-01 22:02:15 +053038obj-y += asoc/
39obj-y += dsp/
40obj-y += ipc/
41obj-y += soc/