mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
audiodlkm: make sa8155 and sa6155 utilize the same obj-option
Make the sa8155 sa8155ivi and sa6155 utilize the same obj-option. But distinguish the kbuild-option. Change-Id: I7ff7c7d30670cb4abb42d46f3632136539a9b82e Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
This commit is contained in:
parent
49ac33f0a1
commit
a5b505aa6d
1 changed files with 6 additions and 1 deletions
7
Makefile.am
Normal file → Executable file
7
Makefile.am
Normal file → Executable file
|
|
@ -37,14 +37,19 @@ obj-m += asoc/codecs/bolero/
|
|||
obj-m += asoc/codecs/wcd937x/
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa8155))
|
||||
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa8155 sa8155ivi sa6155))
|
||||
obj-m := ipc/
|
||||
obj-m += dsp/
|
||||
obj-m += asoc/
|
||||
obj-m += asoc/codecs/
|
||||
obj-m += soc/
|
||||
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa8155 sa8155ivi))
|
||||
KBUILD_OPTIONS += CONFIG_SND_SOC_SA8155=m
|
||||
endif
|
||||
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa6155))
|
||||
KBUILD_OPTIONS += CONFIG_SND_SOC_SA6155=m
|
||||
endif
|
||||
endif
|
||||
|
||||
all:
|
||||
$(shell rm -fr $(shell pwd)/soc/core.h)
|
||||
|
|
|
|||
Loading…
Reference in a new issue