blob: 4e123b6de43b3597f9d88f0a5a20ea05f4438397 [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)
Asish Bhattacharya5faacb32017-12-04 17:23:15 +05307include $(srctree)/techpack/audio/config/sdm670auto_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
Meng Wang5fddb8d2018-01-23 16:56:56 +080014ifeq ($(CONFIG_ARCH_SDM855), y)
15include $(srctree)/techpack/audio/config/sdm855auto.conf
16export
17endif
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053018
19# Use USERINCLUDE when you must reference the UAPI directories only.
20USERINCLUDE += \
21 -I$(srctree)/techpack/audio/include/uapi \
22
23# Use LINUXINCLUDE when you must reference the include/ directory.
24# Needed to be compatible with the O= option
25LINUXINCLUDE += \
26 -I$(srctree)/techpack/audio/include/uapi \
27 -I$(srctree)/techpack/audio/include
28
29ifeq ($(CONFIG_ARCH_SDM845), y)
30LINUXINCLUDE += \
31 -include $(srctree)/techpack/audio/config/sdm845autoconf.h
32endif
Laxminath Kasam7e057cf2017-08-09 23:55:15 +053033ifeq ($(CONFIG_ARCH_SDM670), y)
34LINUXINCLUDE += \
35 -include $(srctree)/techpack/audio/config/sdm670autoconf.h
36endif
Xiaoyu Yeafb41612017-10-03 18:26:08 -070037ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
38LINUXINCLUDE += \
39 -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
40endif
Meng Wang5fddb8d2018-01-23 16:56:56 +080041ifeq ($(CONFIG_ARCH_SDM855), y)
42LINUXINCLUDE += \
43 -include $(srctree)/techpack/audio/config/sdm855autoconf.h
44endif
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053045
Laxminath Kasam605b42f2017-08-01 22:02:15 +053046obj-y += asoc/
47obj-y += dsp/
48obj-y += ipc/
49obj-y += soc/