You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.5 KiB
39 lines
1.5 KiB
#===============================================================================
|
|
# ALSA SUPPORT is optional
|
|
ifeq ($(CONFIG_SOCT_SND_ALSA_AO_SUPPORT),y)
|
|
alsa_path := alsa
|
|
ccflags-y += -DCONFIG_SOCT_ALSA_AO_SUPPORT
|
|
ccflags-y += -DCONFIG_SOCT_ALSA_HRTIMER_SUPPORT
|
|
ccflags-y += -I$(aiao_path)/$(alsa_path)
|
|
ccflags-y += -I$(aiao_path)/$(alsa_path)/include
|
|
ccflags-y += -Idrivers/drv/ext_inc/adsp
|
|
|
|
$(MODNAME)-objs-y += \
|
|
$(alsa_path)/drv_aiao_alsa_card.o \
|
|
$(alsa_path)/drv_aiao_alsa_dma.o \
|
|
$(alsa_path)/drv_aiao_alsa_codec.o \
|
|
$(alsa_path)/wrap/drv_ao_alsa.o \
|
|
$(alsa_path)/wrap/drv_ai_alsa_hal.o \
|
|
$(alsa_path)/wrap/drv_ai_alsa_process.o \
|
|
$(alsa_path)/wrap/drv_alsa_snd_hal.o \
|
|
$(alsa_path)/wrap/drv_alsa_adac_snd_hal.o \
|
|
$(alsa_path)/wrap/drv_alsa_hdmi_snd_hal.o \
|
|
$(alsa_path)/hdmi/drv_aiao_alsa_card_hdmitx.o \
|
|
$(alsa_path)/hdmi/drv_aiao_alsa_dma_hdmitx.o \
|
|
$(alsa_path)/hdmi/drv_aiao_alsa_hdmitx.o \
|
|
$(alsa_path)/drv_aiao_alsa_playback.o \
|
|
$(alsa_path)/drv_aiao_alsa_capture.o \
|
|
$(alsa_path)/drv_aiao_alsa_proc.o \
|
|
$(alsa_path)/drv_aiao_alsa_control.o \
|
|
$(alsa_path)/drv_aiao_alsa_dfx.o \
|
|
$(alsa_path)/drv_aiao_alsa_dts.o \
|
|
$(alsa_path)/drv_aiao_alsa_fault_check.o
|
|
endif
|
|
#===============================================================================
|
|
ifeq ($(CONFIG_SOCT_SND_ALSA_AI_SUPPORT),y)
|
|
alsa_path := alsa
|
|
ccflags-y += -DCONFIG_SOCT_ALSA_AI_SUPPORT
|
|
$(MODNAME)-objs-y += $(alsa_path)/wrap/drv_ai_alsa.o
|
|
endif
|
|
#===============================================================================
|