8e14752f35
Add include and source paths to support compilation of audio drivers into kernel image on Kona. Change-Id: I41b5ef7e5d20d517193e8295a61035a28692cb32 Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
# auto-detect subdirs
|
|
ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
|
|
include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf
|
|
export
|
|
endif
|
|
ifeq ($(CONFIG_ARCH_SM8150), y)
|
|
include $(srctree)/techpack/audio/config/sm8150auto.conf
|
|
export
|
|
endif
|
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
|
include $(srctree)/techpack/audio/config/sm8150auto.conf
|
|
export
|
|
endif
|
|
ifeq ($(CONFIG_ARCH_KONA), y)
|
|
include $(srctree)/techpack/audio/config/konaauto.conf
|
|
endif
|
|
|
|
# Use USERINCLUDE when you must reference the UAPI directories only.
|
|
USERINCLUDE += \
|
|
-I$(srctree)/techpack/audio/include/uapi \
|
|
-I$(srctree)/techpack/audio/include
|
|
|
|
# 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_SDXPOORWILLS), y)
|
|
LINUXINCLUDE += \
|
|
-include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
|
|
endif
|
|
ifeq ($(CONFIG_ARCH_SM8150), y)
|
|
LINUXINCLUDE += \
|
|
-include $(srctree)/techpack/audio/config/sm8150autoconf.h
|
|
endif
|
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
|
LINUXINCLUDE += \
|
|
-include $(srctree)/techpack/audio/config/sm8150autoconf.h
|
|
endif
|
|
ifeq ($(CONFIG_ARCH_KONA), y)
|
|
LINUXINCLUDE += \
|
|
-include $(srctree)/techpack/audio/config/konaautoconf.h
|
|
endif
|
|
|
|
obj-y += soc/
|
|
obj-y += dsp/
|
|
obj-y += ipc/
|
|
obj-y += asoc/
|