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)