mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "audio-kernel: Add support to compile statically on Kona"
This commit is contained in:
commit
c9a2aff3be
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