blob: 159b68cd0e149b5be165f156eacf49199d4320bc [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
Banajit Goswamif58e5fc2018-04-11 14:10:09 -070014ifeq ($(CONFIG_ARCH_SM8150), y)
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070015include $(srctree)/techpack/audio/config/sm8150auto.conf
Meng Wang5fddb8d2018-01-23 16:56:56 +080016export
17endif
Sudheer Papothie3842cf2018-03-31 02:27:42 +053018ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070019include $(srctree)/techpack/audio/config/sm8150auto.conf
Sudheer Papothie3842cf2018-03-31 02:27:42 +053020export
21endif
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053022
23# Use USERINCLUDE when you must reference the UAPI directories only.
24USERINCLUDE += \
25 -I$(srctree)/techpack/audio/include/uapi \
26
27# Use LINUXINCLUDE when you must reference the include/ directory.
28# Needed to be compatible with the O= option
29LINUXINCLUDE += \
30 -I$(srctree)/techpack/audio/include/uapi \
31 -I$(srctree)/techpack/audio/include
32
33ifeq ($(CONFIG_ARCH_SDM845), y)
34LINUXINCLUDE += \
35 -include $(srctree)/techpack/audio/config/sdm845autoconf.h
36endif
Laxminath Kasam7e057cf2017-08-09 23:55:15 +053037ifeq ($(CONFIG_ARCH_SDM670), y)
38LINUXINCLUDE += \
39 -include $(srctree)/techpack/audio/config/sdm670autoconf.h
40endif
Xiaoyu Yeafb41612017-10-03 18:26:08 -070041ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
42LINUXINCLUDE += \
43 -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
44endif
Banajit Goswamif58e5fc2018-04-11 14:10:09 -070045ifeq ($(CONFIG_ARCH_SM8150), y)
Meng Wang5fddb8d2018-01-23 16:56:56 +080046LINUXINCLUDE += \
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070047 -include $(srctree)/techpack/audio/config/sm8150autoconf.h
Meng Wang5fddb8d2018-01-23 16:56:56 +080048endif
Sudheer Papothie3842cf2018-03-31 02:27:42 +053049ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
50LINUXINCLUDE += \
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070051 -include $(srctree)/techpack/audio/config/sm8150autoconf.h
Sudheer Papothie3842cf2018-03-31 02:27:42 +053052endif
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053053
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053054obj-y += soc/
Laxminath Kasam605b42f2017-08-01 22:02:15 +053055obj-y += dsp/
56obj-y += ipc/
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053057obj-y += asoc/