#=============================================================================== # export variables #=============================================================================== ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),) ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS) endif EXTRA_CFLAGS += -DLOG_D_MODULE_ID=SOC_ID_SIF KBUILD_EXTRA_SYMBOLS += -Idrivers/drv/common/drv/Module.symvers #=============================================================================== # local variables #=============================================================================== adsp_path := drivers/drv/adsp sif_path := drivers/drv/sif ccflags-y += -Idrivers/drv/ioctl_inc/generic \ -Idrivers/drv/ioctl_inc/sif \ -Idrivers/drv/ioctl_inc/audio \ -Idrivers/drv/ioctl_inc/common \ -Idrivers/drv/ext_inc/base \ -Idrivers/drv/ext_inc/osal \ -Idrivers/drv/ext_inc/adsp \ -Idrivers/drv/ext_inc/common \ -Idrivers/drv/common/include \ -I$(adsp_path)/include \ -I$(sif_path)/hal \ -I$(sif_path) \ EXTRA_CFLAGS += $(CFG_SOCT_KMOD_CFLAGS) EXTRA_CFLAGS += -DSOCT_SIF_SUPPORT MODNAME := soc_sif ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y) obj-y += $(MODNAME).o else obj-m += $(MODNAME).o endif $(MODNAME)-y := drv_sif.o \ drv_sif_intf.o $(MODNAME)-y += hal/drv_dspreg_sif.o $(MODNAME)-y += hal/drv_sif_hal_v4_0.o $(MODNAME)-y += hal/drv_sif_vir_v4_0.o $(MODNAME)-y += hal/drv_sif_hal.o $(MODNAME)-y += hal/drv_sif_asd.o $(MODNAME)-objs := $($(MODNAME)-objs-y)