ifeq ($(CFG_SOCT_BOOT_SLAVE),y) ifneq ($(filter reserved9 reserved13,$(CFG_SOCT_CHIP_TYPE)),) CONFIG_SOCT_HDMITX_SUPPORT := y endif ifneq ($(findstring $(CFG_SOCT_CHIP_TYPE), reserved19 reserved17),) ifneq ($(findstring $(CFG_SOCT_CHIP_REVERSION), reserved19_b reserved17_d),) CONFIG_SOCT_HDMITX_SUPPORT := y endif endif endif ifneq ($(findstring $(CFG_SOCT_CHIP_TYPE), reserved19 reserved17 hi3751v811),) HDMI_CTRL_DIR := hal/ctrl/v200 HDMI_PHY_DIR := hal/phy/v200 else HDMI_CTRL_DIR := hal/ctrl/v300 HDMI_PHY_DIR := hal/phy/v300 endif ccflags-$(CONFIG_SOCT_HDMITX_SUPPORT) += \ -I$(SDK_DIR)/source/drivers/hdmitx \ -I$(SDK_DIR)/source/drivers/hdmitx/include \ -I$(SDK_DIR)/source/drivers/hdmitx/hal \ -I$(SDK_DIR)/source/drivers/hdmitx/include \ -I$(SDK_DIR)/source/drivers/hdmitx/$(HDMI_CTRL_DIR) \ -I$(SDK_DIR)/source/drivers/hdmitx/$(HDMI_CTRL_DIR)/include \ -I$(SDK_DIR)/source/drivers/hdmitx/$(HDMI_PHY_DIR) \ -I$(SDK_DIR)/source/drivers/hdmitx/$(HDMI_PHY_DIR)/include \ -I$(SDK_DIR)/source/drivers/hdmitx/platform/$(CFG_SOCT_CHIP_TYPE) \ -I$(SDK_DIR)/source/drivers/include/generic \ -I$(SDK_DIR)/source/drivers/include/common \ -I$(SDK_DIR)/source/drivers/include/flash \ -I$(SDK_DIR)/source/drivers/include/hdmitx \ -I$(SDK_DIR)/source/drivers/dip_inc/vo \ -I$(SDK_DIR)/source/drivers/include/video \ -I$(SDK_DIR)/source/drivers/include/panel \ -I$(SDK_DIR)/source/drivers/include/mipitx \ -I$(SDK_DIR)/source/drivers/common \ -I$(SDK_DIR)/source/drivers/include/pdm ccflags-$(CONFIG_SOCT_HDMITX_SUPPORT) += -DLOG_MODULE_ID=SOC_ID_HDMITX ifneq ($(findstring fpga,$(CFG_SOCT_BOOT_REG_NAME)),) ccflags-$(CONFIG_SOCT_HDMITX_SUPPORT) += -DHDMI_FPGA_SUPPORT endif obj-$(CONFIG_SOCT_HDMITX_SUPPORT) += \ drv_hdmitx.o \ drv_hdmitx_connector.o \ drv_hdmitx_controller.o \ drv_hdmitx_crg.o \ drv_hdmitx_ddc.o \ drv_hdmitx_dsc.o \ drv_hdmitx_edid.o \ drv_hdmitx_frl.o \ drv_hdmitx_infoframe.o \ drv_hdmitx_modes.o \ drv_hdmitx_phy.o \ hal/hal_hdmitx_io.o \ $(HDMI_CTRL_DIR)/hal_hdmitx_crg.o \ $(HDMI_CTRL_DIR)/hal_hdmitx_cross.o \ $(HDMI_CTRL_DIR)/hal_hdmitx_ctrl.o \ $(HDMI_CTRL_DIR)/hal_hdmitx_ddc.o \ $(HDMI_CTRL_DIR)/hal_hdmitx_dsc.o \ $(HDMI_CTRL_DIR)/hal_hdmitx_frl.o \ $(HDMI_PHY_DIR)/hal_hdmitx_phy.o \ platform/$(CFG_SOCT_CHIP_TYPE)/platform_info_define.o