mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
audio-kernel: Add support to compile statically on Kona
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>
This commit is contained in:
parent
586382a701
commit
8e14752f35
2 changed files with 10 additions and 0 deletions
8
Makefile
8
Makefile
|
|
@ -11,10 +11,14 @@ 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
|
||||
|
|
@ -34,6 +38,10 @@ 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/
|
||||
|
|
|
|||
|
|
@ -196,6 +196,8 @@ endif
|
|||
ifeq ($(KERNEL_BUILD), 1)
|
||||
obj-y += wcd934x/
|
||||
obj-y += wcd937x/
|
||||
obj-y += wcd938x/
|
||||
obj-y += bolero/
|
||||
endif
|
||||
# Module information used by KBuild framework
|
||||
obj-$(CONFIG_WCD9XXX_CODEC_CORE) += wcd_core_dlkm.o
|
||||
|
|
|
|||
Loading…
Reference in a new issue