blob: 8daa4601fa7407388b721e6a643cfe5fc9b81a7a [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
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053017
18# Use USERINCLUDE when you must reference the UAPI directories only.
19USERINCLUDE += \
20 -I$(srctree)/techpack/audio/include/uapi \
Karthikeyan Mani8e147522019-05-13 15:14:46 -070021 -I$(srctree)/techpack/audio/include
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053022
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
Xiaoyu Yeafb41612017-10-03 18:26:08 -070029ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
30LINUXINCLUDE += \
31 -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
32endif
Banajit Goswamif58e5fc2018-04-11 14:10:09 -070033ifeq ($(CONFIG_ARCH_SM8150), y)
Meng Wang5fddb8d2018-01-23 16:56:56 +080034LINUXINCLUDE += \
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070035 -include $(srctree)/techpack/audio/config/sm8150autoconf.h
Meng Wang5fddb8d2018-01-23 16:56:56 +080036endif
Sudheer Papothie3842cf2018-03-31 02:27:42 +053037ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
38LINUXINCLUDE += \
Xiaoyu Ye60c105d2018-04-12 12:43:13 -070039 -include $(srctree)/techpack/audio/config/sm8150autoconf.h
Sudheer Papothie3842cf2018-03-31 02:27:42 +053040endif
Karthikeyan Mani8e147522019-05-13 15:14:46 -070041ifeq ($(CONFIG_ARCH_KONA), y)
42LINUXINCLUDE += \
43 -include $(srctree)/techpack/audio/config/konaautoconf.h
44endif
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053045
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053046obj-y += soc/
Laxminath Kasam605b42f2017-08-01 22:02:15 +053047obj-y += dsp/
48obj-y += ipc/
Sudheer Papothi8d34b2e2018-05-23 06:34:36 +053049obj-y += asoc/