asoc: Add build option for qcs6490
Add build option for qcs6490. Change-Id: I2cd3ac1e296c8eb64702d26d0cb461052bc3ade2 Signed-off-by: Boyuan Yan <quic_boyuyan@quicinc.com>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
0013cdbfbe
commit
8972574067
10
Makefile.am
10
Makefile.am
@@ -18,6 +18,9 @@ endif
|
||||
ifeq ($(TARGET_SUPPORT), qrb5165)
|
||||
KBUILD_OPTIONS += CONFIG_ARCH_KONA=y
|
||||
endif
|
||||
ifeq ($(TARGET_SUPPORT), qcs6490)
|
||||
KBUILD_OPTIONS += CONFIG_ARCH_LAHAINA=y
|
||||
endif
|
||||
|
||||
subdir-ccflags-y += -I$(AUDIO_ROOT)/include/uapi/
|
||||
|
||||
@@ -48,6 +51,13 @@ obj-m += asoc/codecs/wcd938x/
|
||||
bj-m += asoc/codecs/wsa883x/
|
||||
KBUILD_CFLAGS += -Wno-error
|
||||
endif
|
||||
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), qcs6490))
|
||||
obj-m += asoc/codecs/bolero/
|
||||
obj-m += asoc/codecs/wcd937x/
|
||||
obj-m += asoc/codecs/wcd938x/
|
||||
obj-m += asoc/codecs/wsa883x/
|
||||
KBUILD_CFLAGS += -Wno-error
|
||||
endif
|
||||
ifeq ($(TARGET_SUPPORT), sdmsteppe)
|
||||
obj-m += asoc/codecs/bolero/
|
||||
obj-m += asoc/codecs/wcd937x/
|
||||
|
||||
@@ -72,6 +72,11 @@ else
|
||||
include $(AUDIO_ROOT)/config/konaauto.conf
|
||||
INCS += -include $(AUDIO_ROOT)/config/konaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LITO), y)
|
||||
include $(AUDIO_ROOT)/config/litoauto.conf
|
||||
export
|
||||
|
||||
@@ -72,6 +72,11 @@ else
|
||||
include $(AUDIO_ROOT)/config/konaauto.conf
|
||||
INCS += -include $(AUDIO_ROOT)/config/konaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LITO), y)
|
||||
include $(AUDIO_ROOT)/config/litoauto.conf
|
||||
export
|
||||
|
||||
@@ -30,6 +30,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
||||
include $(AUDIO_ROOT)/config/konaauto.conf
|
||||
INCS += -include $(AUDIO_ROOT)/config/konaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LITO), y)
|
||||
include $(AUDIO_ROOT)/config/litoauto.conf
|
||||
export
|
||||
|
||||
@@ -36,6 +36,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/litoautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
endif
|
||||
|
||||
# As per target team, build is done as follows:
|
||||
|
||||
@@ -23,6 +23,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/litoautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ endif
|
||||
ifeq ($(KERNEL_BUILD), 0)
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LITO), y)
|
||||
|
||||
@@ -61,6 +61,10 @@ else
|
||||
include $(AUDIO_ROOT)/config/konaauto.conf
|
||||
INCS += -include $(AUDIO_ROOT)/config/konaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LITO), y)
|
||||
include $(AUDIO_ROOT)/config/litoauto.conf
|
||||
export
|
||||
|
||||
@@ -28,6 +28,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
||||
include $(AUDIO_ROOT)/config/konaauto.conf
|
||||
INCS += -include $(AUDIO_ROOT)/config/konaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LITO), y)
|
||||
include $(AUDIO_ROOT)/config/litoauto.conf
|
||||
export
|
||||
|
||||
@@ -62,6 +62,11 @@ else
|
||||
include $(AUDIO_ROOT)/config/konaauto.conf
|
||||
INCS += -include $(AUDIO_ROOT)/config/konaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LITO), y)
|
||||
include $(AUDIO_ROOT)/config/litoauto.conf
|
||||
export
|
||||
|
||||
@@ -56,6 +56,11 @@ else
|
||||
include $(AUDIO_ROOT)/config/konaauto.conf
|
||||
INCS += -include $(AUDIO_ROOT)/config/konaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
include $(AUDIO_ROOT)/config/lahainaauto.conf
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_LITO), y)
|
||||
include $(AUDIO_ROOT)/config/litoauto.conf
|
||||
export
|
||||
|
||||
Reference in New Issue
Block a user