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.

33 lines
1023 B

#===============================================================================
# export variables
#===============================================================================
ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
endif
ccflags-y += -Idrivers/drv/common/include \
-Idrivers/drv/ioctl_inc/generic \
-Idrivers/drv/ioctl_inc/common \
-Idrivers/drv/ioctl_inc/spread \
-Idrivers/drv/ext_inc/base \
-Idrivers/drv/ext_inc/common \
-Idrivers/drv/ext_inc/osal \
-Idrivers/drv/ext_inc/spread \
-Idrivers/drv/ext_inc/dftevent \
-Idrivers/drv/spread
ccflags-y += -Werror
MODNAME := soc_spread
ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y)
obj-$(CONFIG_SOCT_SPREAD_SUPPORT) += $(MODNAME).o
else
obj-m += $(MODNAME).o
endif
$(MODNAME)-objs-y := drv_spread_info.o
$(MODNAME)-objs-y += drv_spread.o
$(MODNAME)-objs-y += drv_spread_fmea.o
$(MODNAME)-objs := $($(MODNAME)-objs-y)