Merge "audiodlkm: make sa8155 and sa6155 utilize the same obj-option"

This commit is contained in:
qctecmdr 2019-08-14 08:22:18 -07:00 committed by Gerrit - the friendly Code Review server
commit a1500ee450

View File

@ -37,14 +37,19 @@ obj-m += asoc/codecs/bolero/
obj-m += asoc/codecs/wcd937x/ obj-m += asoc/codecs/wcd937x/
endif endif
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa8155)) ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa8155 sa8155ivi sa6155))
obj-m := ipc/ obj-m := ipc/
obj-m += dsp/ obj-m += dsp/
obj-m += asoc/ obj-m += asoc/
obj-m += asoc/codecs/ obj-m += asoc/codecs/
obj-m += soc/ obj-m += soc/
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa8155 sa8155ivi))
KBUILD_OPTIONS += CONFIG_SND_SOC_SA8155=m KBUILD_OPTIONS += CONFIG_SND_SOC_SA8155=m
endif endif
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa6155))
KBUILD_OPTIONS += CONFIG_SND_SOC_SA6155=m
endif
endif
all: all:
$(shell rm -fr $(shell pwd)/soc/core.h) $(shell rm -fr $(shell pwd)/soc/core.h)