############################################################################### # export variables ############################################################################### ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),) ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS) endif #=============================================================================== # local variables #=============================================================================== TARGET := pq VERSION := pq_master module := comm file dbms dei fod ifmd nr hsharp cti csc acm gamma dci dim scaler vpssscaler gfxscaler sharpen sr hdr vpsshdr gfxhdr dmmz coco cle gfxcsc cgm es HAL_VERSION := reserved9 ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "hi3751v811"),) HAL_VERSION := hi3751v811 endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) COMM_VERSION := reserved9 VPSS_VERSION := hal_v1 ifneq ($(findstring $(CONFIG_SOCT_CHIP_REVERSION), "reserved13_c" "reserved9_c" "reserved13_d" "reserved9_d" "reserved6_d" "reserved8_d"),) BOARD_VERSION := cs #ccflags-y += -Idrivers/drv/ext_inc/xdp/vpss/hal/include/reg_v2 $(warning "We will build vpss driver version with cs") else BOARD_VERSION := es #ccflags-y += -Idrivers/drv/vpss/hal/include/reg_v1 $(warning "We will build vpss driver version with es") endif endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved5"),) #ccflags-y += -Idrivers/drv/vpss/hal/include/reg_v3 COMM_VERSION := reserved5 VPSS_VERSION := hal_v2 $(warning "We will build vpss driver version with reserved5") endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved19" "reserved17"),) #ccflags-y += -Idrivers/drv/vpss/hal/include/reg_v4 COMM_VERSION := reserved19 VPSS_VERSION := hal_v1 $(warning "We will build vpss driver version with reserved19") endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "hi3751v811"),) #ccflags-y += -Idrivers/drv/vpss/hal/include/reg_v4 COMM_VERSION := hi3751v811 VPSS_VERSION := hal_v1 $(warning "We will build vpss driver version with hi3751v811") endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved19" "reserved17"),) ccflags-y += -DCONFIG_SOCT_PQ_RESERVED17_SUPPORT endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "hi3751v811"),) ccflags-y += -DCONFIG_SOCT_PQ_HI3751V811_SUPPORT endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_REVERSION), "reserved13_c" "reserved9_c" "reserved13_d" "reserved9_d" "reserved6_d" "reserved8_d"),) ccflags-y += -DCONFIG_SOCT_PQ_DCI_ALG_OPTIMIZE $(warning "We will build PQ DCI alg optimize.") endif ifeq ($(CONFIG_SOCT_DMCU_SUPPORT),y) PQ_DMCU_SUPPORT := y endif ifdef PQ_DMCU_SUPPORT ccflags-y += -DCONFIG_SOCT_PQ_SDK_DMCU_SUPPORT endif # depend drivers/drv/vo/include/register_vdp_ext.h ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved17" "reserved19" "hi3751v811"),) BOARD_VERSION := version_b ccflags-y += -DCONFIG_SOCT_CHIP_SUPPORT ifneq ($(findstring $(CONFIG_SOCT_CHIP_REVERSION), "c" "reserved19_c" "hi3751v811_c"),) BOARD_VERSION := version_c ccflags-y += -DCONFIG_SOCT_CHIP_C_SUPPORT endif endif $(warning CONFIG_SOCT_CHIP_TYPE $(CONFIG_SOCT_CHIP_TYPE)) $(warning COMM_VERSION $(COMM_VERSION)) $(warning BOARD_VERSION $(BOARD_VERSION)) $(warning CONFIG_SOCT_KMOD_CFLAGS $(CONFIG_SOCT_KMOD_CFLAGS)) $(warning CONFIG_SOCT_PQ_SUPPORT $(CONFIG_SOCT_PQ_SUPPORT)) $(warning CONFIG_SOCT_PROC_SUPPORT $(CONFIG_SOCT_PROC_SUPPORT)) $(warning CONFIG_SOCT_PQ_PROC_SUPPORT $(CONFIG_SOCT_PQ_PROC_SUPPORT)) $(warning CONFIG_SOCT_PQ_ZME_SUPPORT $(CONFIG_SOCT_PQ_ZME_SUPPORT)) $(warning CONFIG_SOCT_PQ_VPSSZME_SUPPORT $(CONFIG_SOCT_PQ_VPSSZME_SUPPORT)) $(warning CONFIG_SOCT_PQ_GFXCSC_SUPPORT $(CONFIG_SOCT_PQ_GFXCSC_SUPPORT)) $(warning CONFIG_SOCT_PQ_GFXZME_SUPPORT $(CONFIG_SOCT_PQ_GFXZME_SUPPORT)) $(warning CONFIG_SOCT_PQ_CSC_SUPPORT $(CONFIG_SOCT_PQ_CSC_SUPPORT)) $(warning CONFIG_SOCT_PQ_GFXHDR_SUPPORT $(CONFIG_SOCT_PQ_GFXHDR_SUPPORT)) $(warning CONFIG_SOCT_PQ_VPSSHDR_SUPPORT $(CONFIG_SOCT_PQ_VPSSHDR_SUPPORT)) $(warning CONFIG_SOCT_PQ_HDR_SUPPORT $(CONFIG_SOCT_PQ_HDR_SUPPORT)) $(warning CONFIG_SOCT_PQ_CLE_SUPPORT $(CONFIG_SOCT_PQ_CLE_SUPPORT)) $(warning CONFIG_SOCT_PQ_TNR_SUPPORT $(CONFIG_SOCT_PQ_TNR_SUPPORT)) $(warning CONFIG_SOCT_PQ_SNR_SUPPORT $(CONFIG_SOCT_PQ_SNR_SUPPORT)) $(warning CONFIG_SOCT_PQ_SR_SUPPORT $(CONFIG_SOCT_PQ_SR_SUPPORT)) $(warning CONFIG_SOCT_PQ_DEI_SUPPORT $(CONFIG_SOCT_PQ_DEI_SUPPORT)) $(warning CONFIG_SOCT_PQ_IFMD_SUPPORT $(CONFIG_SOCT_PQ_IFMD_SUPPORT)) $(warning CONFIG_SOCT_PQ_ACM_SUPPORT $(CONFIG_SOCT_PQ_ACM_SUPPORT)) $(warning CONFIG_SOCT_PQ_DEBLOCKING_SUPPORT $(CONFIG_SOCT_PQ_DEBLOCKING_SUPPORT)) $(warning CONFIG_SOCT_PQ_DERING_SUPPORT $(CONFIG_SOCT_PQ_DERING_SUPPORT)) $(warning CONFIG_SOCT_PQ_DESHOOT_SUPPORT $(CONFIG_SOCT_PQ_DESHOOT_SUPPORT)) $(warning CONFIG_SOCT_PQ_DMMZ_SUPPORT $(CONFIG_SOCT_PQ_DMMZ_SUPPORT)) $(warning CONFIG_SOCT_PQ_DEMOSQUITO_SUPPORT $(CONFIG_SOCT_PQ_DEMOSQUITO_SUPPORT)) $(warning CONFIG_SOCT_PQ_SHARPEN_SUPPORT $(CONFIG_SOCT_PQ_SHARPEN_SUPPORT)) $(warning CONFIG_SOCT_PQ_DCI_SUPPORT $(CONFIG_SOCT_PQ_DCI_SUPPORT)) $(warning CONFIG_SOCT_PQ_COCO_SUPPORT $(CONFIG_SOCT_PQ_COCO_SUPPORT)) $(warning CONFIG_SOCT_PQ_CCCL_SUPPORT $(CONFIG_SOCT_PQ_CCCL_SUPPORT)) $(warning CONFIG_SOCT_PQ_DECONTOUR_SUPPORT $(CONFIG_SOCT_PQ_DECONTOUR_SUPPORT)) $(warning CONFIG_SOCT_PQ_HSHARPEN_SUPPORT $(CONFIG_SOCT_PQ_HSHARPEN_SUPPORT)) $(warning CONFIG_SOCT_PQ_BLUESTRETCH_SUPPORT $(CONFIG_SOCT_PQ_BLUESTRETCH_SUPPORT)) $(warning CONFIG_SOCT_PQ_SD_CTI_SUPPORT $(CONFIG_SOCT_PQ_SD_CTI_SUPPORT)) $(warning CONFIG_SOCT_PQ_HD_CTI_SUPPORT $(CONFIG_SOCT_PQ_HD_CTI_SUPPORT)) $(warning CONFIG_SOCT_PQ_FOD_SUPPORT $(CONFIG_SOCT_PQ_FOD_SUPPORT)) $(warning CONFIG_SOCT_PQ_GAMMA_SUPPORT $(CONFIG_SOCT_PQ_GAMMA_SUPPORT)) $(warning CONFIG_SOCT_PQ_CGM_SUPPORT $(CONFIG_SOCT_PQ_CGM_SUPPORT)) $(warning CONFIG_SOCT_PQ_DIMMING_SUPPORT $(CONFIG_SOCT_PQ_DIMMING_SUPPORT)) #=============================================================================== # local variables #=============================================================================== ccflags-y += -Idrivers/drv/common/include \ -Idrivers/drv/ioctl_inc/generic \ -Idrivers/drv/ioctl_inc/common \ -Idrivers/drv/ioctl_inc/video \ -Idrivers/drv/ioctl_inc/pq \ -Idrivers/drv/ioctl_inc/pdm \ -Idrivers/drv/ext_inc/base \ -Idrivers/drv/ext_inc/common \ -Idrivers/drv/ext_inc/stat \ -Idrivers/drv/ext_inc/osal \ -Idrivers/drv/pq/comm/osal \ -Idrivers/drv/pq/comm/osal/linux \ -Idrivers/drv/ext_inc/pdm \ -Idrivers/drv/ext_inc/pq \ -Idrivers/drv/ext_inc/dftevent \ -Idrivers/drv/ext_inc/xdp/vdp \ -Idrivers/drv/ext_inc/xdp/vpss \ -Idrivers/drv/ext_inc/vo \ -Idrivers/drv/ioctl_inc/vo \ -Idrivers/drv/ext_inc/memc \ -Idrivers/drv/vo/adapter/common/include \ -Idrivers/drv/ext_inc/vpss \ -Idrivers/drv/dmcu/ipcm \ -Idrivers/drv/dmcu/include \ -Idrivers/drv/vo/osal \ -Idrivers/drv/include \ -Idrivers/include/stat \ -Idrivers/drv/vo/adapter/dmcu/product/reserved9 \ -Idrivers/drv/$(TARGET)/$(VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/comm \ -Idrivers/drv/$(TARGET)/$(VERSION)/comm/osal \ -Idrivers/drv/$(TARGET)/$(VERSION)/adapter \ -Idrivers/drv/$(TARGET)/$(VERSION)/adapter/dmcu_client \ -Idrivers/drv/$(TARGET)/$(VERSION)/acm \ -Idrivers/drv/$(TARGET)/$(VERSION)/csc \ -Idrivers/drv/$(TARGET)/$(VERSION)/cti \ -Idrivers/drv/$(TARGET)/$(VERSION)/dbms \ -Idrivers/drv/$(TARGET)/$(VERSION)/dc \ -Idrivers/drv/$(TARGET)/$(VERSION)/dci \ -Idrivers/drv/$(TARGET)/$(VERSION)/dei \ -Idrivers/drv/$(TARGET)/$(VERSION)/dim \ -Idrivers/drv/$(TARGET)/$(VERSION)/fod \ -Idrivers/drv/$(TARGET)/$(VERSION)/gamma \ -Idrivers/drv/$(TARGET)/$(VERSION)/ifmd \ -Idrivers/drv/$(TARGET)/$(VERSION)/nr \ -Idrivers/drv/$(TARGET)/$(VERSION)/nr/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/nr/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/nr/hal/$(COMM_VERSION)/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/scaler \ -Idrivers/drv/$(TARGET)/$(VERSION)/scaler/scaler_vdp \ -Idrivers/drv/$(TARGET)/$(VERSION)/scaler/scaler_vpss \ -Idrivers/drv/$(TARGET)/$(VERSION)/scaler/scaler_gfx \ -Idrivers/drv/$(TARGET)/$(VERSION)/scaler/scaler_comm \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_vdp \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_vdp/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/hdr_cbb \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_vpss \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_vpss/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_gfx \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_gfx/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/hdr/hdr_comm \ -Idrivers/drv/$(TARGET)/$(VERSION)/sharpen \ -Idrivers/drv/$(TARGET)/$(VERSION)/sr \ -Idrivers/drv/$(TARGET)/$(VERSION)/file \ -Idrivers/drv/$(TARGET)/$(VERSION)/hsharpen \ -Idrivers/drv/$(TARGET)/$(VERSION)/cgm \ -Idrivers/drv/$(TARGET)/$(VERSION)/cgm/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/cgm/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/cgm/hal/$(COMM_VERSION)/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dmmz \ -Idrivers/drv/$(TARGET)/$(VERSION)/coco \ -Idrivers/drv/$(TARGET)/$(VERSION)/cle \ -Idrivers/drv/$(TARGET)/$(VERSION)/comm/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/csc/csc_gfx \ -Idrivers/drv/$(TARGET)/$(VERSION)/csc/csc_vo \ -Idrivers/drv/$(TARGET)/$(VERSION)/csc/csc_vo/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/csc/csc_vo/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/csc/csc_vo/hal/$(COMM_VERSION)/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/scaler/scaler_vdp/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/cti/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/cti/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dim/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/dim/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dim/hal/$(COMM_VERSION)/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/gamma/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/gamma/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/gamma/hal/$(COMM_VERSION)/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/fod/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/fod/hal/$(VPSS_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/ifmd/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/ifmd/hal/$(VPSS_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/sr/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/sr/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/sharpen/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/sharpen/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/sharpen/hal/$(COMM_VERSION)/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dci/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/dci/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dci/hal/$(COMM_VERSION)/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/hsharpen/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/acm/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/acm/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dbms/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/dbms/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dc/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/dc/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dc/hal/$(COMM_VERSION)/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dei/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/dei/hal/$(COMM_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/dmmz/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/coco/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/cle/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/cle/hal/$(BOARD_VERSION) \ -Idrivers/drv/$(TARGET)/$(VERSION)/thread \ -Idrivers/drv/$(TARGET)/$(VERSION)/es \ -Idrivers/drv/$(TARGET)/$(VERSION)/es/hal \ -Idrivers/drv/$(TARGET)/$(VERSION)/es/hal/$(HAL_VERSION) \ ifeq ($(CONFIG_SOCT_CHIP_TYPE), "reserved19") ccflags-y += -Idrivers/drv/dmcu/include/reserved19 else ifeq ($(CONFIG_SOCT_CHIP_TYPE), "hi3751v811") ccflags-y += -Idrivers/drv/dmcu/include/hi3751v811 else ifeq ($(CONFIG_SOCT_CHIP_TYPE), "reserved23") ccflags-y += -Idrivers/drv/dmcu/include/reserved23 else ccflags-y += -Idrivers/drv/dmcu/include/reserved19 ccflags-y += -Idrivers/drv/dmcu/include/reserved19 endif ccflags-y += -DLOG_MODULE_ID=SOC_ID_PQ ccflags-y += -Wno-return-type #Add compile options for binscope ccflags-y += -D_FORTIFY_SOURCE=2 -O2 -fstack-protector-all MOD_NAME := soc_$(TARGET) ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y) obj-$(CONFIG_SOCT_PQ_SUPPORT) += $(MOD_NAME).o else obj-m += $(MOD_NAME).o endif $(MOD_NAME)-objs-y += $(VERSION)/drv_pq_log.o $(MOD_NAME)-objs-y += $(VERSION)/drv_pq_common.o $(MOD_NAME)-objs-y += $(VERSION)/drv_pq_intf.o $(MOD_NAME)-objs-y += $(VERSION)/drv_pq.o $(MOD_NAME)-objs-y += $(VERSION)/drv_pq_slave.o $(MOD_NAME)-objs-y += $(VERSION)/drv_pq_proc.o $(MOD_NAME)-objs-y += $(VERSION)/thread/drv_pq_vpss_thread.o $(MOD_NAME)-objs-y += $(VERSION)/thread/drv_pq_vdp_thread.o $(MOD_NAME)-objs-y += $(VERSION)/thread/drv_pq_vdp_thread_ctrl.o $(MOD_NAME)-objs-y += $(VERSION)/adapter/adapter_intf/pq_dmcu_client_adapter_intf.o ifdef PQ_DMCU_SUPPORT $(MOD_NAME)-objs-y += $(VERSION)/adapter/dmcu_client/pq_dmcu_client.o endif ifneq ($(findstring comm, $(module)),) $(MOD_NAME)-objs-y += $(VERSION)/comm/pq_comm.o $(MOD_NAME)-objs-y += $(VERSION)/comm/osal/linux/drv_pq_osal.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved5"),) $(MOD_NAME)-objs-y += $(VERSION)/comm/hal/$(COMM_VERSION)/hal_comm.o endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) $(MOD_NAME)-objs-y += $(VERSION)/comm/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_comm.o endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved19" "reserved17" "hi3751v811"),) $(MOD_NAME)-objs-y += $(VERSION)/comm/hal/$(COMM_VERSION)/hal_comm.o endif $(MOD_NAME)-objs-y += $(VERSION)/comm/pq_comm_basic.o $(MOD_NAME)-objs-y += $(VERSION)/comm/pq_comm_send_coef.o $(MOD_NAME)-objs-y += $(VERSION)/comm/pq_comm_fault_report.o endif ifneq ($(findstring file, $(module)),) $(MOD_NAME)-objs-y += $(VERSION)/file/pq_pqfile.o endif ifeq ($(CONFIG_SOCT_PQ_ACM_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/acm/drv_pq_acm.o $(MOD_NAME)-objs-y += $(VERSION)/acm/drv_acm_alg.o $(MOD_NAME)-objs-y += $(VERSION)/acm/hal/$(COMM_VERSION)/hal_acm.o $(MOD_NAME)-objs-y += $(VERSION)/acm/hal/$(COMM_VERSION)/hal_acm_param.o endif ifeq ($(CONFIG_SOCT_PQ_CSC_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_vo/drv_pq_csc.o $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_vo/hal/hal_csc_alg.o $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_vo/hal/hal_csc.o $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_vo/hal/hal_csc_param.o $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_vo/hal/$(COMM_VERSION)/hal_csc_sub.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved17" "reserved19" "hi3751v811"),) $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_vo/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_ct.o $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_vo/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_ct_param.o else $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_vo/hal/$(COMM_VERSION)/hal_ct.o $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_vo/hal/$(COMM_VERSION)/hal_ct_param.o endif endif ifeq ($(CONFIG_SOCT_PQ_GFXCSC_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/csc/csc_gfx/drv_pq_gfxcsc.o endif ifeq ($(CONFIG_SOCT_PQ_HD_CTI_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/cti/drv_pq_cti.o $(MOD_NAME)-objs-y += $(VERSION)/cti/hal/$(COMM_VERSION)/hal_cti.o $(MOD_NAME)-objs-y += $(VERSION)/cti/hal/$(COMM_VERSION)/hal_cti_param.o endif ifeq ($(CONFIG_SOCT_PQ_DEBLOCKING_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/dbms/drv_pq_dbms.o $(MOD_NAME)-objs-y += $(VERSION)/dbms/hal/$(COMM_VERSION)/hal_dbms.o $(MOD_NAME)-objs-y += $(VERSION)/dbms/hal/$(COMM_VERSION)/hal_dbms_param.o endif ifeq ($(CONFIG_SOCT_PQ_DECONTOUR_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/dc/drv_pq_dc.o $(MOD_NAME)-objs-y += $(VERSION)/dc/hal/$(COMM_VERSION)/hal_dc_param.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) $(MOD_NAME)-objs-y += $(VERSION)/dc/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_dc_specs.o endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved17" "reserved19" "hi3751v811"),) $(MOD_NAME)-objs-y += $(VERSION)/dc/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_dc.o else $(MOD_NAME)-objs-y += $(VERSION)/dc/hal/$(COMM_VERSION)/hal_dc.o endif endif ifeq ($(CONFIG_SOCT_PQ_DMMZ_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/dmmz/pq_dmmz.o $(MOD_NAME)-objs-y += $(VERSION)/dmmz/hal/pq_dmmz_hal.o $(MOD_NAME)-objs-y += $(VERSION)/dmmz/hal/drv_pq_dmmz_param.o endif ifeq ($(CONFIG_SOCT_PQ_COCO_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/coco/pq_coco.o $(MOD_NAME)-objs-y += $(VERSION)/coco/hal/pq_coco_hal.o endif ifeq ($(CONFIG_SOCT_PQ_DCI_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/dci/drv_pq_dci.o $(MOD_NAME)-objs-y += $(VERSION)/dci/hal/hal_dci_alg.o $(MOD_NAME)-objs-y += $(VERSION)/dci/hal/$(COMM_VERSION)/hal_dci_param.o $(MOD_NAME)-objs-y += $(VERSION)/dci/hal/$(COMM_VERSION)/hal_dci.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved5" "reserved17" "reserved19" "hi3751v811"),) $(MOD_NAME)-objs-y += $(VERSION)/dci/hal/$(COMM_VERSION)/hal_dci_spec.o endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) $(MOD_NAME)-objs-y += $(VERSION)/dci/hal/$(COMM_VERSION)/hal_dci_regset.o $(MOD_NAME)-objs-y += $(VERSION)/dci/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_dci_spec.o endif endif ifeq ($(CONFIG_SOCT_PQ_DEI_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/dei/drv_pq_dei.o $(MOD_NAME)-objs-y += $(VERSION)/dei/hal/$(COMM_VERSION)/hal_dei.o $(MOD_NAME)-objs-y += $(VERSION)/dei/hal/$(COMM_VERSION)/hal_dei_param.o endif ifeq ($(CONFIG_SOCT_PQ_DIMMING_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/dim/drv_pq_dim.o $(MOD_NAME)-objs-y += $(VERSION)/dim/hal/hal_dim_alg.o $(MOD_NAME)-objs-y += $(VERSION)/dim/hal/hal_dim_param.o $(MOD_NAME)-objs-y += $(VERSION)/dim/hal/hal_dim.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved17" "reserved19" "hi3751v811"),) $(MOD_NAME)-objs-y += $(VERSION)/dim/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_dim_specs.o $(MOD_NAME)-objs-y += $(VERSION)/dim/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_dim_sub.o else $(MOD_NAME)-objs-y += $(VERSION)/dim/hal/$(COMM_VERSION)/hal_dim_specs.o $(MOD_NAME)-objs-y += $(VERSION)/dim/hal/$(COMM_VERSION)/hal_dim_sub.o endif endif ifeq ($(CONFIG_SOCT_PQ_FOD_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/fod/drv_pq_fod.o $(MOD_NAME)-objs-y += $(VERSION)/fod/hal/$(VPSS_VERSION)/hal_fod_alg.o $(MOD_NAME)-objs-y += $(VERSION)/fod/hal/$(VPSS_VERSION)/hal_fod.o endif ifeq ($(CONFIG_SOCT_PQ_GAMMA_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/gamma/drv_pq_gamma.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved17" "reserved19" "hi3751v811"),) $(MOD_NAME)-objs-y += $(VERSION)/gamma/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_gamma.o else $(MOD_NAME)-objs-y += $(VERSION)/gamma/hal/$(COMM_VERSION)/hal_gamma.o endif endif ifeq ($(CONFIG_SOCT_PQ_HDR_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/drv_pq_vdp_hdr.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/hal_hdr_comm.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/hal_pq_vdp_hdr.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/hal_pq_vdp_hdr_regset.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/drv_pq_hdr_alg_static_hdr.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved5"),) $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/hal_pq_vdp_hdr_param.o endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/drv_pq_hdr_alg_trans_hdr.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_comm/pq_hdr_regset_hal.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_comm/drv_pq_cacm_alg.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_pq_vdp_hdr_regset_spec.o endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved17" "reserved19" "hi3751v811"),) $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/hal_pq_vdp_hdr_param.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/vdp_pq_drv_hdr.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/vdp_pq_hal_ip_dither.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/vdp_pq_hal_ip_hdr.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vdp/hal/$(COMM_VERSION)/vdp_pq_ip_dither.o endif endif ifeq ($(CONFIG_SOCT_PQ_VPSSHDR_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vpss/pq_vpss_hdr.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vpss/pq_vpss_hdr_hal.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_comm/pq_hdr_regset_hal.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_vpss/$(BOARD_VERSION)/drv_pq_vpss_hdr_regset_hal_spec.o endif endif ifeq ($(CONFIG_SOCT_PQ_GFXHDR_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_gfx/pq_gfx_hdr.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_gfx/pq_gfx_hdr_hal.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_gfx/pq_gfx_hdr_regset_hal.o $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_comm/pq_hdr_regset_hal.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) $(MOD_NAME)-objs-y += $(VERSION)/hdr/hdr_gfx/$(BOARD_VERSION)/drv_pq_gfx_hdr_regset_hal_spec.o endif endif ifeq ($(CONFIG_SOCT_PQ_IFMD_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/ifmd/drv_pq_ifmd.o $(MOD_NAME)-objs-y += $(VERSION)/ifmd/hal/$(VPSS_VERSION)/hal_ifmd_alg.o $(MOD_NAME)-objs-y += $(VERSION)/ifmd/hal/$(VPSS_VERSION)/hal_ifmd.o $(MOD_NAME)-objs-y += $(VERSION)/ifmd/hal/$(VPSS_VERSION)/hal_ifmd_param.o endif ifeq ($(CONFIG_SOCT_PQ_TNR_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/nr/drv_pq_nr.o $(MOD_NAME)-objs-y += $(VERSION)/nr/hal/$(COMM_VERSION)/hal_nr.o $(MOD_NAME)-objs-y += $(VERSION)/nr/hal/$(COMM_VERSION)/hal_nr_param.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved17" "reserved19" "hi3751v811"),) $(MOD_NAME)-objs-y += $(VERSION)/nr/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_nr_specs.o endif endif ifeq ($(CONFIG_SOCT_PQ_ZME_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/scaler/scaler_vdp/pq_vdp_scaler.o $(MOD_NAME)-objs-y += $(VERSION)/scaler/scaler_vdp/pq_vdp_scaler_alg.o $(MOD_NAME)-objs-y += $(VERSION)/scaler/scaler_vdp/hal/$(COMM_VERSION)/hal_scaler_vdp.o $(MOD_NAME)-objs-y += $(VERSION)/scaler/scaler_vdp/hal/$(COMM_VERSION)/hal_scaler_vdp_param.o endif ifeq ($(CONFIG_SOCT_PQ_VPSSZME_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/scaler/scaler_vpss/pq_vpss_scaler.o $(MOD_NAME)-objs-y += $(VERSION)/scaler/scaler_vpss/pq_vpss_scaler_alg.o endif ifeq ($(CONFIG_SOCT_PQ_GFXZME_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/scaler/scaler_gfx/pq_gfx_scaler.o $(MOD_NAME)-objs-y += $(VERSION)/scaler/scaler_gfx/pq_gfx_scaler_alg.o endif ifeq ($(CONFIG_SOCT_PQ_SHARPEN_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/sharpen/drv_pq_sharpen.o $(MOD_NAME)-objs-y += $(VERSION)/sharpen/hal/$(COMM_VERSION)/hal_sharpen_alg.o $(MOD_NAME)-objs-y += $(VERSION)/sharpen/hal/$(COMM_VERSION)/hal_sharpen.o $(MOD_NAME)-objs-y += $(VERSION)/sharpen/hal/$(COMM_VERSION)/hal_sharpen_param.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) $(MOD_NAME)-objs-y += $(VERSION)/sharpen/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_sharpen_spec.o endif endif ifeq ($(CONFIG_SOCT_PQ_SR_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/sr/pq_sr.o $(MOD_NAME)-objs-y += $(VERSION)/sr/hal/$(COMM_VERSION)/hal_sr.o $(MOD_NAME)-objs-y += $(VERSION)/sr/hal/$(COMM_VERSION)/hal_sr_regset.o $(MOD_NAME)-objs-y += $(VERSION)/sr/hal/$(COMM_VERSION)/hal_sr_param.o endif ifeq ($(CONFIG_SOCT_PQ_HSHARPEN_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/hsharpen/pq_hsharpen.o $(MOD_NAME)-objs-y += $(VERSION)/hsharpen/hal/pq_hsharpen_hal.o $(MOD_NAME)-objs-y += $(VERSION)/hsharpen/hal/pq_hsharpen_param.o endif ifeq ($(CONFIG_SOCT_PQ_CLE_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/cle/pq_cle.o $(MOD_NAME)-objs-y += $(VERSION)/cle/hal/$(BOARD_VERSION)/pq_cle_hal.o $(MOD_NAME)-objs-y += $(VERSION)/cle/hal/pq_cle_hal_regset.o $(MOD_NAME)-objs-y += $(VERSION)/cle/hal/pq_cle_alg.o $(MOD_NAME)-objs-y += $(VERSION)/cle/hal/pq_cle_param.o endif ifeq ($(CONFIG_SOCT_PQ_CGM_SUPPORT),y) $(MOD_NAME)-objs-y += $(VERSION)/cgm/drv_pq_cgm.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_REVERSION), "c" "reserved19_c" "hi3751v811_c"),) $(MOD_NAME)-objs-y += $(VERSION)/cgm/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_pq_cgm_param.o $(MOD_NAME)-objs-y += $(VERSION)/cgm/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_pq_cgm.o endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) $(MOD_NAME)-objs-y += $(VERSION)/cgm/hal/$(COMM_VERSION)/hal_pq_cgm_param.o $(MOD_NAME)-objs-y += $(VERSION)/cgm/hal/$(COMM_VERSION)/hal_pq_cgm.o endif endif $(MOD_NAME)-objs-y += $(VERSION)/es/drv_pq_es.o ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved5"),) $(MOD_NAME)-objs-y += $(VERSION)/es/hal/$(COMM_VERSION)/hal_es.o endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved13" "reserved9" "reserved6" "reserved8"),) $(MOD_NAME)-objs-y += $(VERSION)/es/hal/$(HAL_VERSION)/hal_es_param.o $(MOD_NAME)-objs-y += $(VERSION)/es/hal/$(COMM_VERSION)/$(BOARD_VERSION)/hal_es.o endif ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved19" "reserved17" "hi3751v811"),) $(MOD_NAME)-objs-y += $(VERSION)/es/hal/$(COMM_VERSION)/hal_es.o endif #CONFIG_SOCT_PQ_REFACTORING_SUPPORT :=y ifeq ($(CONFIG_SOCT_PQ_REFACTORING_SUPPORT),y) ccflags-y += -DCONFIG_SOCT_PQ_REFACTORING_SUPPORT ccflags-y += -DPQ_VPSS_OLD ifeq ($(COMM_VERSION), reserved19) ifeq ($(BOARD_VERSION), version_c) CHIP_TYPE := reserved19_c else CHIP_TYPE := reserved19 endif endif ifeq ($(COMM_VERSION), hi3751v811) ifeq ($(BOARD_VERSION), version_c) CHIP_TYPE := hi3751v811_c else CHIP_TYPE := hi3751v811 endif endif ifneq ($(VENDOR_DIR),) PQ_VENDOR_DIR := $(VENDOR_DIR) else PQ_VENDOR_DIR ?= $(shell cd $(CURDIR)/../../../../../../vendor && /bin/pwd) endif PQ_MASTER_NEW_SRC_BASE_DIR := $(PQ_VENDOR_DIR)/huanglong/linux/drv/pq/pq_master_new PQ_MASTER_NEW_INCLUDE_BASE_DIR := drivers/drv/pq/pq_master_new PQ_MASTER_NEW_SRC_MAX_DEPTH := 5 $(warning PQ_MASTER_NEW_SRC_BASE_DIR $(PQ_MASTER_NEW_SRC_BASE_DIR)) ccflags-y += -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR) \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/infra \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/infra/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/alg \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/alg/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/app \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/app/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/assemble \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/assemble/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/chip \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/chip/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/form \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/form/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/pipe \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/pipe/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/reg \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/reg/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/vdp \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/vdp/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/vpss \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/vpss/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/stt \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/stt/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/tvd \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/tvd/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/proc \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/proc/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/statistics \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/statistics/include \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/alg_facade \ -I$(PQ_MASTER_NEW_INCLUDE_BASE_DIR)/alg_facade/include \ PQ_MASTER_NEW_SRC_DIRS := \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/infra -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/alg -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/app -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/assemble -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/form -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/pipe -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/reg -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/vdp -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/tvd -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/vpss -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/stt -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/proc -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/statistics -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/alg_facade -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips -maxdepth 1 -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/chips/$(CHIP_TYPE) -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ ifneq ($(findstring $(COMM_VERSION), "reserved19" "hi3751v811"),) PQ_MASTER_NEW_SRC_DIRS += \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/acm/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/bs/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/csc/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/cti_hd/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/cti_sd/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/dci/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/dei/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/dim/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/gamma/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/hdr/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/sr_4k/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/zme_4k/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/sharpen/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/snr/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/tnr/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) endif ifneq ($(findstring $(COMM_VERSION), "reserved19_c" "hi3751v811_c"),) PQ_MASTER_NEW_SRC_DIRS += \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/acm/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/bs/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/csc/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/cti_hd/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/cti_sd/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/dci/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/dei/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/dim/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/gamma/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/hdr/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/sr_4k/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/zme_4k/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/sharpen/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/snr/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) \ $(shell find $(PQ_MASTER_NEW_SRC_BASE_DIR)/chip/ips/tnr/ver_a -maxdepth $(PQ_MASTER_NEW_SRC_MAX_DEPTH) -type d) endif PQ_MASTER_NEW_FILES := $(foreach cdir, $(PQ_MASTER_NEW_SRC_DIRS), $(wildcard $(cdir)/*.c)) PQ_MASTER_NEW_OBJS := $(patsubst $(PQ_VENDOR_DIR)/huanglong/linux/drv/pq/%.c, %.o, $(PQ_MASTER_NEW_FILES)) $(MOD_NAME)-objs-y += $(PQ_MASTER_NEW_OBJS) endif $(MOD_NAME)-objs := $($(MOD_NAME)-objs-y)