blob: d9d093bde49dffdc1c2ef2501816513213356ddf [file] [log] [blame]
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +05301# auto-detect subdirs
Xiaoyu Yeafb41612017-10-03 18:26:08 -07002ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
3include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf
4export
5endif
Banajit Goswamif58e5fc2018-04-11 14:10:09 -07006ifeq ($(CONFIG_ARCH_SM8150), y)
Xiaoyu Ye60c105d2018-04-12 12:43:13 -07007include $(srctree)/techpack/audio/config/sm8150auto.conf
Meng Wang5fddb8d2018-01-23 16:56:56 +08008export
9endif
Sudheer Papothie3842cf2018-03-31 02:27:42 +053010ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070011include $(srctree)/techpack/audio/config/sm8150auto.conf
Sudheer Papothie3842cf2018-03-31 02:27:42 +053012export
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
Xiaoyu Yeafb41612017-10-03 18:26:08 -070025ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
26LINUXINCLUDE += \
27 -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
28endif
Banajit Goswamif58e5fc2018-04-11 14:10:09 -070029ifeq ($(CONFIG_ARCH_SM8150), y)
Meng Wang5fddb8d2018-01-23 16:56:56 +080030LINUXINCLUDE += \
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070031 -include $(srctree)/techpack/audio/config/sm8150autoconf.h
Meng Wang5fddb8d2018-01-23 16:56:56 +080032endif
Sudheer Papothie3842cf2018-03-31 02:27:42 +053033ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
34LINUXINCLUDE += \
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070035 -include $(srctree)/techpack/audio/config/sm8150autoconf.h
Sudheer Papothie3842cf2018-03-31 02:27:42 +053036endif
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053037
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053038obj-y += soc/
Laxminath Kasam605b42f2017-08-01 22:02:15 +053039obj-y += dsp/
40obj-y += ipc/
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053041obj-y += asoc/