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.

40 lines
1.4 KiB

#===============================================================================
# export variables
#===============================================================================
ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
endif
#===============================================================================
# local variable
#===============================================================================
ccflags-y += -Idrivers/drv/ioctl_inc/keyslot
ccflags-y += -Idrivers/drv/ioctl_inc/generic
ccflags-y += -Idrivers/drv/ioctl_inc/common
ccflags-y += -Idrivers/drv/ext_inc/base
ccflags-y += -Idrivers/drv/ext_inc/osal
ccflags-y += -Idrivers/drv/ext_inc/common
ccflags-y += -Idrivers/drv/ext_inc/keyslot
ccflags-y += -Idrivers/drv/common/include
ccflags-y += -Idrivers/drv/keyslot
ccflags-y += -Idrivers/drv/ext_inc/dftevent
ccflags-y += -fstack-protector-all
MODNAME := soc_keyslot
ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y)
obj-$(CONFIG_SOCT_KEYSLOT_SUPPORT) += $(MODNAME).o
else
obj-m += $(MODNAME).o
endif
$(MODNAME)-objs-y += drv_keyslot.o
$(MODNAME)-objs-y += drv_keyslot_intf.o
$(MODNAME)-objs-y += drv_keyslot_proc.o
$(MODNAME)-objs-y += hal_keyslot.o
$(MODNAME)-objs-y += drv_keyslot_utils.o
$(MODNAME)-objs-y += drv_keyslot_func.o
$(MODNAME)-objs-y += drv_keyslot_fmea.o
$(MODNAME)-objs := $($(MODNAME)-objs-y)