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