#=============================================================================== # 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)