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.

47 lines
1.6 KiB

#===============================================================================
# For reserved9...
#===============================================================================
# export variables
#===============================================================================
ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
endif
#===============================================================================
# local variables
#===============================================================================
ifeq ($(CONFIG_SOCT_CHIP_TYPE), "reserved5")
chip_dir = reserved5
else
chip_dir = reserved9
endif
ccflags-y += -Idrivers/drv/ioctl_inc/generic
ccflags-y += -Idrivers/drv/ioctl_inc/common
ccflags-y += -Idrivers/drv/ioctl_inc/vbi
ccflags-y += -Idrivers/drv/ioctl_inc/tvd
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/frontend
ccflags-y += -Idrivers/drv/ext_inc/tvd
ccflags-y += -Idrivers/drv/common/include
ccflags-y += -Idrivers/drv/vbi
ccflags-y += -Idrivers/drv/vbi/hal/$(chip_dir)/
ccflags-y += -fstack-protector-all
ccflags-y += -Werror
ccflags-y += -DLOG_D_MODULE_ID=SOC_ID_VBI
MODNAME := soc_vbi
obj-$(CONFIG_SOCT_VBI_SUPPORT) += $(MODNAME).o
$(MODNAME)-y += drv_vbi_intf.o
$(MODNAME)-y += drv_vbi_ctrl.o
$(MODNAME)-y += drv_vbi_proc.o
$(MODNAME)-y += drv_vbi_hal.o
$(MODNAME)-y += hal/$(chip_dir)/drv_vbi_platform.o
###############################################################################
$(MODNAME)-objs := $($(MODNAME)-objs-y)