blob: b8428deb5c058d33cfd4c07a41b5ccebc2f8e5f5 [file] [log] [blame]
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +05301# auto-detect subdirs
2ifeq ($(CONFIG_ARCH_SDM845), y)
3include $(srctree)/techpack/audio/config/sdm845auto.conf
4export
5endif
6
7# Use USERINCLUDE when you must reference the UAPI directories only.
8USERINCLUDE += \
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
13LINUXINCLUDE += \
14 -I$(srctree)/techpack/audio/include/uapi \
15 -I$(srctree)/techpack/audio/include
16
17ifeq ($(CONFIG_ARCH_SDM845), y)
18LINUXINCLUDE += \
19 -include $(srctree)/techpack/audio/config/sdm845autoconf.h
20endif
21
22obj-y += drivers/
23obj-y += sound/