Merge "audio-kernel: Add support to compile statically on Kona"

This commit is contained in:
qctecmdr
2019-05-21 20:23:41 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 10 additions and 0 deletions

View File

@@ -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/

View File

@@ -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