605b42f92c
Kernel audio drivers can be categorised into below folders. asoc - ALSA based drivers, asoc/codecs - codec drivers, ipc - APR IPC communication drivers, dsp - DSP low level drivers/Audio ION/ADSP Loader, dsp/codecs - Native encoders and decoders, soc - SoC based drivers(pinctrl/regmap/soundwire) Restructure drivers to above folder format. Include directories also follow above format. Change-Id: I8fa0857baaacd47db126fb5c1f1f5ed7e886dbc0 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
26 lines
712 B
Makefile
26 lines
712 B
Makefile
# auto-detect subdirs
|
|
ifeq ($(CONFIG_ARCH_SDM845), y)
|
|
include $(srctree)/techpack/audio/config/sdm845auto.conf
|
|
export
|
|
endif
|
|
|
|
# Use USERINCLUDE when you must reference the UAPI directories only.
|
|
USERINCLUDE += \
|
|
-I$(srctree)/techpack/audio/include/uapi \
|
|
|
|
# Use LINUXINCLUDE when you must reference the include/ directory.
|
|
# Needed to be compatible with the O= option
|
|
LINUXINCLUDE += \
|
|
-I$(srctree)/techpack/audio/include/uapi \
|
|
-I$(srctree)/techpack/audio/include
|
|
|
|
ifeq ($(CONFIG_ARCH_SDM845), y)
|
|
LINUXINCLUDE += \
|
|
-include $(srctree)/techpack/audio/config/sdm845autoconf.h
|
|
endif
|
|
|
|
obj-y += asoc/
|
|
obj-y += dsp/
|
|
obj-y += ipc/
|
|
obj-y += soc/
|