Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 1 | # auto-detect subdirs |
Xiaoyu Ye | afb4161 | 2017-10-03 18:26:08 -0700 | [diff] [blame] | 2 | ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y) |
| 3 | include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf |
| 4 | export |
| 5 | endif |
Banajit Goswami | f58e5fc | 2018-04-11 14:10:09 -0700 | [diff] [blame] | 6 | ifeq ($(CONFIG_ARCH_SM8150), y) |
Xiaoyu Ye | 60c105d | 2018-04-12 12:43:13 -0700 | [diff] [blame] | 7 | include $(srctree)/techpack/audio/config/sm8150auto.conf |
Meng Wang | 5fddb8d | 2018-01-23 16:56:56 +0800 | [diff] [blame] | 8 | export |
| 9 | endif |
Sudheer Papothi | e3842cf | 2018-03-31 02:27:42 +0530 | [diff] [blame] | 10 | ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) |
Xiaoyu Ye | 60c105d | 2018-04-12 12:43:13 -0700 | [diff] [blame] | 11 | include $(srctree)/techpack/audio/config/sm8150auto.conf |
Sudheer Papothi | e3842cf | 2018-03-31 02:27:42 +0530 | [diff] [blame] | 12 | export |
| 13 | endif |
Karthikeyan Mani | 8e14752 | 2019-05-13 15:14:46 -0700 | [diff] [blame] | 14 | ifeq ($(CONFIG_ARCH_KONA), y) |
| 15 | include $(srctree)/techpack/audio/config/konaauto.conf |
| 16 | endif |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 17 | |
| 18 | # Use USERINCLUDE when you must reference the UAPI directories only. |
| 19 | USERINCLUDE += \ |
| 20 | -I$(srctree)/techpack/audio/include/uapi \ |
Karthikeyan Mani | 8e14752 | 2019-05-13 15:14:46 -0700 | [diff] [blame] | 21 | -I$(srctree)/techpack/audio/include |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 22 | |
| 23 | # Use LINUXINCLUDE when you must reference the include/ directory. |
| 24 | # Needed to be compatible with the O= option |
| 25 | LINUXINCLUDE += \ |
| 26 | -I$(srctree)/techpack/audio/include/uapi \ |
| 27 | -I$(srctree)/techpack/audio/include |
| 28 | |
Xiaoyu Ye | afb4161 | 2017-10-03 18:26:08 -0700 | [diff] [blame] | 29 | ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y) |
| 30 | LINUXINCLUDE += \ |
| 31 | -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h |
| 32 | endif |
Banajit Goswami | f58e5fc | 2018-04-11 14:10:09 -0700 | [diff] [blame] | 33 | ifeq ($(CONFIG_ARCH_SM8150), y) |
Meng Wang | 5fddb8d | 2018-01-23 16:56:56 +0800 | [diff] [blame] | 34 | LINUXINCLUDE += \ |
Xiaoyu Ye | 60c105d | 2018-04-12 12:43:13 -0700 | [diff] [blame] | 35 | -include $(srctree)/techpack/audio/config/sm8150autoconf.h |
Meng Wang | 5fddb8d | 2018-01-23 16:56:56 +0800 | [diff] [blame] | 36 | endif |
Sudheer Papothi | e3842cf | 2018-03-31 02:27:42 +0530 | [diff] [blame] | 37 | ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) |
| 38 | LINUXINCLUDE += \ |
Xiaoyu Ye | 60c105d | 2018-04-12 12:43:13 -0700 | [diff] [blame] | 39 | -include $(srctree)/techpack/audio/config/sm8150autoconf.h |
Sudheer Papothi | e3842cf | 2018-03-31 02:27:42 +0530 | [diff] [blame] | 40 | endif |
Karthikeyan Mani | 8e14752 | 2019-05-13 15:14:46 -0700 | [diff] [blame] | 41 | ifeq ($(CONFIG_ARCH_KONA), y) |
| 42 | LINUXINCLUDE += \ |
| 43 | -include $(srctree)/techpack/audio/config/konaautoconf.h |
| 44 | endif |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 45 | |
Sudheer Papothi | 8d34b2e | 2018-05-23 06:34:36 +0530 | [diff] [blame] | 46 | obj-y += soc/ |
Laxminath Kasam | 605b42f | 2017-08-01 22:02:15 +0530 | [diff] [blame] | 47 | obj-y += dsp/ |
| 48 | obj-y += ipc/ |
Sudheer Papothi | 8d34b2e | 2018-05-23 06:34:36 +0530 | [diff] [blame] | 49 | obj-y += asoc/ |