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.

41 lines
1.3 KiB

###############################################################################
# export variables
###############################################################################
ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
endif
#===============================================================================
# local variables
#===============================================================================
## header search path
ccflags-y += -Idrivers/drv/ioctl_inc/rm
ccflags-y += -Idrivers/drv/ioctl_inc/vo
ccflags-y += -Idrivers/drv/ioctl_inc/generic
ccflags-y += -Idrivers/drv/ioctl_inc/video
ccflags-y += -Idrivers/drv/ioctl_inc/memc
ccflags-y += -Idrivers/drv/ext_inc/base
ccflags-y += -Idrivers/drv/ext_inc/vo
ccflags-y += -Idrivers/drv/ext_inc/osal
ccflags-y += -Idrivers/drv/ext_inc/rm
ccflags-y += -Idrivers/drv/ext_inc/common
ccflags-y += -Idrivers/drv/common/include
ccflags-y += -D_FORTIFY_SOURCE=2 -O2 -fstack-protector-all
MODNAME := soc_rm
ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y)
obj-$(CONFIG_SOCT_RM_SUPPORT) += $(MODNAME).o
else
obj-m += $(MODNAME).o
endif
$(MODNAME)-objs-y += drv_rm_intf.o
$(MODNAME)-objs-y += drv_rm.o
$(MODNAME)-objs-y += drv_rm_proc.o
$(MODNAME)-objs-y += drv_rm_comm.o
$(MODNAME)-objs := $($(MODNAME)-objs-y)