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
902 B

ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
endif
adsp_path := drivers/drv/adsp
ccflags-y += \
-Idrivers/drv/ioctl_inc/generic \
-Idrivers/drv/ioctl_inc/common \
-Idrivers/drv/ioctl_inc/audio \
-Idrivers/drv/ioctl_inc/aflt \
-Idrivers/drv/ioctl_inc/aenc \
-Idrivers/drv/ioctl_inc/ao \
-Idrivers/drv/ext_inc/base \
-Idrivers/drv/ext_inc/osal \
-Idrivers/drv/ext_inc/aflt \
-Idrivers/drv/ext_inc/common \
-Idrivers/drv/ext_inc/adsp \
-Idrivers/drv/ext_inc/aiao \
-Idrivers/drv/common/include \
-I$(adsp_path)/include
KBUILD_EXTRA_SYMBOLS += -Idrivers/drv/common/drv/Module.symvers
MODNAME := soc_aflt
ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y)
obj-y += $(MODNAME).o
else
obj-m += $(MODNAME).o
endif
$(MODNAME)-objs-y += \
drv_aflt_intf.o \
drv_aflt.o \
hal_aflt.o
$(MODNAME)-objs := $($(MODNAME)-objs-y)