blob: e66fd39dd646d9ff6796f877ef7c28fc0a5026a8 [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
Karthikeyan Mani8e147522019-05-13 15:14:46 -070014ifeq ($(CONFIG_ARCH_KONA), y)
15include $(srctree)/techpack/audio/config/konaauto.conf
16endif
Soumya Managolia620a952020-06-11 12:14:46 +053017ifeq ($(CONFIG_ARCH_SDM660), y)
18include $(srctree)/techpack/audio/config/sdm660auto.conf
19endif
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053020
21# Use USERINCLUDE when you must reference the UAPI directories only.
22USERINCLUDE += \
23 -I$(srctree)/techpack/audio/include/uapi \
Karthikeyan Mani8e147522019-05-13 15:14:46 -070024 -I$(srctree)/techpack/audio/include
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053025
26# Use LINUXINCLUDE when you must reference the include/ directory.
27# Needed to be compatible with the O= option
28LINUXINCLUDE += \
29 -I$(srctree)/techpack/audio/include/uapi \
30 -I$(srctree)/techpack/audio/include
31
Xiaoyu Yeafb41612017-10-03 18:26:08 -070032ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
33LINUXINCLUDE += \
34 -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
35endif
Banajit Goswamif58e5fc2018-04-11 14:10:09 -070036ifeq ($(CONFIG_ARCH_SM8150), y)
Meng Wang5fddb8d2018-01-23 16:56:56 +080037LINUXINCLUDE += \
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070038 -include $(srctree)/techpack/audio/config/sm8150autoconf.h
Meng Wang5fddb8d2018-01-23 16:56:56 +080039endif
Sudheer Papothie3842cf2018-03-31 02:27:42 +053040ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
41LINUXINCLUDE += \
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070042 -include $(srctree)/techpack/audio/config/sm8150autoconf.h
Sudheer Papothie3842cf2018-03-31 02:27:42 +053043endif
Karthikeyan Mani8e147522019-05-13 15:14:46 -070044ifeq ($(CONFIG_ARCH_KONA), y)
45LINUXINCLUDE += \
46 -include $(srctree)/techpack/audio/config/konaautoconf.h
47endif
Soumya Managolia620a952020-06-11 12:14:46 +053048ifeq ($(CONFIG_ARCH_SDM660), y)
49LINUXINCLUDE += \
50 -include $(srctree)/techpack/audio/config/sdm660autoconf.h
51endif
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053052obj-y += soc/
Laxminath Kasam605b42f2017-08-01 22:02:15 +053053obj-y += dsp/
54obj-y += ipc/
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053055obj-y += asoc/