############################################################################### # export variables ############################################################################### ifneq ($(CONFIG_SOCT_KMOD_CFLAGS),) ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS) endif ############################################################################### # local variables ############################################################################### ## header search path VFMW_DIR := vfmw/vfmw_v6.2 ccflags-y += -fstack-protector-all ccflags-y += -Idrivers/drv/ioctl_inc/vdec \ -Idrivers/drv/ioctl_inc/generic \ -Idrivers/drv/ioctl_inc/video \ -Idrivers/drv/ioctl_inc/stat \ -Idrivers/drv/ioctl_inc/common \ -Idrivers/drv/ext_inc/base \ -Idrivers/drv/ext_inc/osal \ -Idrivers/drv/ext_inc/common \ -Idrivers/drv/ext_inc/vdec \ -Idrivers/drv/ext_inc/stat \ -Idrivers/drv/common/include \ -Idrivers/drv/vdec/vdec_v6.0 \ -Idrivers/drv/vdec/vdec_v6.0/include \ -Idrivers/drv/vdec/vdec_v6.0/platform/osal/linux \ -Idrivers/drv/vdec/vdec_v6.0/platform/sdk/stb \ -Idrivers/drv/vdec/vdec_v6.0/vfmw_adpt/vfmw_v6.2 \ -Idrivers/drv/vdec/vdec_v6.0/modules/proc \ -Idrivers/drv/$(VFMW_DIR)/ \ -Iinclude/linux/huanglong MODNAME := soc_vdec ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y) obj-$(CONFIG_SOCT_VDEC_SUPPORT) += $(MODNAME).o else obj-m += $(MODNAME).o endif vdec_obj_list := vdec_v6.0/drv_vdec_dev.o \ vdec_v6.0/drv_vdec_intf.o \ vdec_v6.0/drv_vdec.o \ vdec_v6.0/platform/osal/linux/drv_vdec_osal.o \ vdec_v6.0/platform/sdk/stb/drv_vdec_sdk.o \ vdec_v6.0/vfmw_adpt/vfmw_v6.2/drv_vdec_vfmw.o \ vdec_v6.0/vfmw_adpt/vfmw_v6.2/drv_vdec_convert.o \ vdec_v6.0/modules/proc/drv_vdec_proc.o ############################################################################### $(MODNAME)-objs-y := $(vdec_obj_list) $(MODNAME)-objs := $($(MODNAME)-objs-y)