Browse Source

ipc: Upgrade ipc to support 5.10 kernel

Modify Kbuild to include waipio config file

Change-Id: Ic930c14e5dfa5731e6f7bd689ad691b95f70bda7
Signed-off-by: Jyotirmoi Sarma <[email protected]>
Jyotirmoi Sarma 4 years ago
parent
commit
80543a69c0
1 changed files with 4 additions and 3 deletions
  1. 4 3
      ipc/Kbuild

+ 4 - 3
ipc/Kbuild

@@ -47,6 +47,10 @@ ifeq ($(KERNEL_BUILD), 0)
 		include $(AUDIO_ROOT)/config/konaauto.conf
 		INCS    +=  -include $(AUDIO_ROOT)/config/konaautoconf.h
 	endif
+	ifeq ($(CONFIG_ARCH_WAIPIO), y)
+		include $(AUDIO_ROOT)/config/waipioauto.conf
+		INCS    +=  -include $(AUDIO_ROOT)/config/waipioautoconf.h
+	endif
 	ifeq ($(CONFIG_ARCH_LITO), y)
 		include $(AUDIO_ROOT)/config/litoauto.conf
 		export
@@ -151,9 +155,6 @@ CDEFINES +=	-DANI_LITTLE_BYTE_ENDIAN \
 
 KBUILD_CPPFLAGS += $(CDEFINES)
 
-ifeq ($(KERNEL_BUILD), 0)
-KBUILD_EXTRA_SYMBOLS +=$(OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/Module.symvers
-endif
 
 # Currently, for versions of gcc which support it, the kernel Makefile
 # is disabling the maybe-uninitialized warning.  Re-enable it for the