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 |
Meng Wang | 5fddb8d | 2018-01-23 16:56:56 +0800 | [diff] [blame] | 14 | ifeq ($(CONFIG_ARCH_SDM855), y) |
| 15 | include $(srctree)/techpack/audio/config/sdm855auto.conf |
| 16 | export |
| 17 | endif |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 18 | |
| 19 | # Use USERINCLUDE when you must reference the UAPI directories only. |
| 20 | USERINCLUDE += \ |
| 21 | -I$(srctree)/techpack/audio/include/uapi \ |
| 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 | |
| 29 | ifeq ($(CONFIG_ARCH_SDM845), y) |
| 30 | LINUXINCLUDE += \ |
| 31 | -include $(srctree)/techpack/audio/config/sdm845autoconf.h |
| 32 | endif |
Laxminath Kasam | 7e057cf | 2017-08-09 23:55:15 +0530 | [diff] [blame] | 33 | ifeq ($(CONFIG_ARCH_SDM670), y) |
| 34 | LINUXINCLUDE += \ |
| 35 | -include $(srctree)/techpack/audio/config/sdm670autoconf.h |
| 36 | endif |
Xiaoyu Ye | afb4161 | 2017-10-03 18:26:08 -0700 | [diff] [blame] | 37 | ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y) |
| 38 | LINUXINCLUDE += \ |
| 39 | -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h |
| 40 | endif |
Meng Wang | 5fddb8d | 2018-01-23 16:56:56 +0800 | [diff] [blame] | 41 | ifeq ($(CONFIG_ARCH_SDM855), y) |
| 42 | LINUXINCLUDE += \ |
| 43 | -include $(srctree)/techpack/audio/config/sdm855autoconf.h |
| 44 | endif |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 45 | |
Laxminath Kasam | 605b42f | 2017-08-01 22:02:15 +0530 | [diff] [blame] | 46 | obj-y += asoc/ |
| 47 | obj-y += dsp/ |
| 48 | obj-y += ipc/ |
| 49 | obj-y += soc/ |