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 |
| 6 | |
| 7 | # Use USERINCLUDE when you must reference the UAPI directories only. |
| 8 | USERINCLUDE += \ |
| 9 | -I$(srctree)/techpack/audio/include/uapi \ |
| 10 | |
| 11 | # Use LINUXINCLUDE when you must reference the include/ directory. |
| 12 | # Needed to be compatible with the O= option |
| 13 | LINUXINCLUDE += \ |
| 14 | -I$(srctree)/techpack/audio/include/uapi \ |
| 15 | -I$(srctree)/techpack/audio/include |
| 16 | |
| 17 | ifeq ($(CONFIG_ARCH_SDM845), y) |
| 18 | LINUXINCLUDE += \ |
| 19 | -include $(srctree)/techpack/audio/config/sdm845autoconf.h |
| 20 | endif |
| 21 | |
| 22 | obj-y += drivers/ |
| 23 | obj-y += sound/ |