Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eae52c27 authored by Hongtao Peng's avatar Hongtao Peng Committed by Gerrit - the friendly Code Review server
Browse files

ASOC: fix audio machine driver compile issue



LV Platform use the same LVGVM cause Kbuild mismatch issue

Change-Id: Iad092ebcbd991e52daedb87406920055528e3a1c
Signed-off-by: default avatarHongtao Peng <hongtaop@codeaurora.org>
parent dec796e3
Loading
Loading
Loading
Loading

Makefile.am

100644 → 100755
+4 −1
Original line number Diff line number Diff line
@@ -46,12 +46,15 @@ obj-m += dsp/
obj-m += asoc/
obj-m += asoc/codecs/
obj-m += soc/
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa8155 sa8155ivi sa8195 qtiquingvm))
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa8155 sa8155ivi sa8195))
KBUILD_OPTIONS += CONFIG_SND_SOC_SA8155=m
endif
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa6155))
KBUILD_OPTIONS += CONFIG_SND_SOC_SA6155=m
endif
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), qtiquingvm))
KBUILD_OPTIONS += CONFIG_SND_SOC_GVM=m
endif
endif

define PROCESS_HEADERS

asoc/Kbuild

100644 → 100755
+60 −55
Original line number Diff line number Diff line
@@ -24,6 +24,11 @@ ifeq ($(CONFIG_SND_SOC_AUTO), y)
		export
		INCS    +=  -include $(AUDIO_ROOT)/config/sa6155autoconf.h
	endif
	ifdef CONFIG_SND_SOC_GVM
		include $(AUDIO_ROOT)/config/gvmauto.conf
		export
		INCS    +=  -include $(AUDIO_ROOT)/config/gvmautoconf.h
	endif
else
	ifeq ($(KERNEL_BUILD), 0)
		ifeq ($(CONFIG_ARCH_SM8150), y)

asoc/codecs/Kbuild

100644 → 100755
+54 −49
Original line number Diff line number Diff line
@@ -24,6 +24,11 @@ ifeq ($(CONFIG_SND_SOC_AUTO), y)
		export
		INCS    +=  -include $(AUDIO_ROOT)/config/sa6155autoconf.h
	endif
	ifdef CONFIG_SND_SOC_GVM
		include $(AUDIO_ROOT)/config/gvmauto.conf
		export
		INCS    +=  -include $(AUDIO_ROOT)/config/gvmautoconf.h
	endif
else
	ifeq ($(KERNEL_BUILD), 0)
		ifeq ($(CONFIG_ARCH_SM8150), y)

config/gvmauto.conf

100644 → 100755
+1 −1

File changed.File mode changed from 100644 to 100755.

Contains only whitespace changes.

dsp/Kbuild

100644 → 100755
+58 −53
Original line number Diff line number Diff line
@@ -24,6 +24,11 @@ ifeq ($(CONFIG_SND_SOC_AUTO), y)
		export
		INCS    +=  -include $(AUDIO_ROOT)/config/sa6155autoconf.h
	endif
	ifdef CONFIG_SND_SOC_GVM
		include $(AUDIO_ROOT)/config/gvmauto.conf
		export
		INCS    +=  -include $(AUDIO_ROOT)/config/gvmautoconf.h
	endif
else
	ifeq ($(KERNEL_BUILD), 0)
		ifeq ($(CONFIG_ARCH_SM6150), y)
Loading