blob: ff66b91c2892d4f75957d76e562a977e7dac0b2f [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
Xiaoyu Yeafb41612017-10-03 18:26:08 -07004endif
Banajit Goswamif58e5fc2018-04-11 14:10:09 -07005ifeq ($(CONFIG_ARCH_SM8150), y)
Xiaoyu Ye60c105d2018-04-12 12:43:13 -07006include $(srctree)/techpack/audio/config/sm8150auto.conf
Meng Wang5fddb8d2018-01-23 16:56:56 +08007endif
Sudheer Papothie3842cf2018-03-31 02:27:42 +05308ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
Xiaoyu Ye60c105d2018-04-12 12:43:13 -07009include $(srctree)/techpack/audio/config/sm8150auto.conf
Sudheer Papothie3842cf2018-03-31 02:27:42 +053010endif
Karthikeyan Mani8e147522019-05-13 15:14:46 -070011ifeq ($(CONFIG_ARCH_KONA), y)
12include $(srctree)/techpack/audio/config/konaauto.conf
13endif
Pavel Dubrovaa10739a2021-09-01 20:07:38 +030014ifeq ($(CONFIG_ARCH_LITO), y)
15include $(srctree)/techpack/audio/config/litoauto.conf
Pavel Dubrovaa10739a2021-09-01 20:07:38 +030016endif
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
Pavel Dubrovaa10739a2021-09-01 20:07:38 +030048ifeq ($(CONFIG_ARCH_LITO), y)
49LINUXINCLUDE += \
50 -include $(srctree)/techpack/audio/config/litoautoconf.h
51endif
Soumya Managolia620a952020-06-11 12:14:46 +053052ifeq ($(CONFIG_ARCH_SDM660), y)
53LINUXINCLUDE += \
54 -include $(srctree)/techpack/audio/config/sdm660autoconf.h
55endif
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053056obj-y += soc/
Laxminath Kasam605b42f2017-08-01 22:02:15 +053057obj-y += dsp/
58obj-y += ipc/
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053059obj-y += asoc/