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.
91 lines
3.3 KiB
91 lines
3.3 KiB
4 months ago
|
ifneq ($(filter reserved9 reserved13 reserved6 reserved8,$(CFG_SOCT_CHIP_TYPE)),)
|
||
|
ifneq ($(filter reserved9_c reserved9_d reserved13_c reserved13_d reserved13_m reserved6_d reserved8_d,$(CFG_SOCT_CHIP_REVERSION)),)
|
||
|
ccflags-y += -DCONFIG_SOCT_GFX2D_CS_SUPPORT
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
ifeq ($(CFG_SOCT_CHIP_TYPE),reserved5)
|
||
|
TDE_HAL_DIR := hal_v2_0
|
||
|
ccflags-y += -DCONFIG_GFX_V2_0
|
||
|
else ifneq ($(filter reserved17 reserved19,$(CFG_SOCT_CHIP_TYPE)),)
|
||
|
TDE_HAL_DIR := hal_v3_0
|
||
|
ccflags-y += -DCONFIG_GFX_V2_0 -DCONFIG_RESERVED17
|
||
|
else ifneq ($(filter hi3751v811,$(CFG_SOCT_CHIP_TYPE)),)
|
||
|
TDE_HAL_DIR := hal_v3_0
|
||
|
ccflags-y += -DCONFIG_GFX_V2_0 -DCONFIG_HI3751V811
|
||
|
else
|
||
|
TDE_HAL_DIR := hal_v1_0
|
||
|
ccflags-y += -DCONFIG_GFX_V1_0
|
||
|
endif
|
||
|
|
||
|
# tde include
|
||
|
ccflags-$(CFG_SOCT_BOOT_SLAVE) += \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/api/tde/include \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/drv/tde/include \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/drv/tde/adp/inc \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/drv/tde/adp/src \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/drv/tde/adp/$(TDE_HAL_DIR) \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/tde \
|
||
|
-I$(SDK_DIR)/source/linux/api/msp/tde/src \
|
||
|
# jpeg include
|
||
|
ccflags-$(CFG_SOCT_BOOT_SLAVE) += \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/dec \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/api/include \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/api/jpeg/include \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/api/jpeg/include/inc_comm \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/api/jpeg/include/inc_hard \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/drv/include \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/msp/drv/jpeg/include \
|
||
|
-I$(SDK_DIR)/source/drivers/include/generic \
|
||
|
-I$(SDK_DIR)/source/drivers/include/common \
|
||
|
-I$(SDK_DIR)/source/drivers/include/pdm \
|
||
|
-I$(SDK_DIR)/source/drivers/include/flash \
|
||
|
-I$(SDK_DIR)/source/drivers/include/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/include/graphic \
|
||
|
-I$(SDK_DIR)/source/drivers/common
|
||
|
# gfx self include
|
||
|
ccflags-$(CFG_SOCT_BOOT_SLAVE) += \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/gfx \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/include
|
||
|
# gfbg include
|
||
|
ccflags-$(CFG_SOCT_BOOT_SLAVE) += \
|
||
|
-I$(SDK_DIR)/source/drivers/graphic/gfbg \
|
||
|
|
||
|
ccflags-$(CFG_SOCT_BOOT_SLAVE) += \
|
||
|
-DEXT_BUILD_IN_BOOT \
|
||
|
-DCONFIG_GFX_ADP_FOR_STB \
|
||
|
-DCONFIG_GFBG_WBC_UNSUPPORT \
|
||
|
-DCONFIG_GFX_PQ \
|
||
|
-DCONFIG_GFBG_VERSION_4_0 \
|
||
|
-DCONFIG_GFX_DFX_MINI \
|
||
|
-DCONFIG_GFX_ONLY_HARD_DECOMPRESS
|
||
|
|
||
|
obj-$(CFG_SOCT_BOOT_SLAVE) += \
|
||
|
msp/drv/tde/src/drv_tde_osilist_k.o \
|
||
|
msp/drv/tde/src/drv_tde_handle_k.o \
|
||
|
msp/drv/tde/src/drv_tde_wmalloc_k.o \
|
||
|
msp/drv/tde/adp/src/drv_tde_osictl_k.o \
|
||
|
msp/drv/tde/adp/src/tde_adp.o \
|
||
|
msp/drv/tde/adp/$(TDE_HAL_DIR)/drv_tde_hal_k.o \
|
||
|
dec/bmp_decode.o \
|
||
|
dec/jpeg_decode.o \
|
||
|
msp/api/jpeg/src/src_comm/mpi_jpeg_resolution.o \
|
||
|
msp/api/jpeg/src/src_hard/mpi_jpeg_table.o \
|
||
|
msp/api/jpeg/src/src_hard/mpi_jpeg_parse.o \
|
||
|
msp/api/jpeg/src/src_hard/mpi_jpeg_hdec.o \
|
||
|
msp/api/jpeg/src/src_hard/mpi_jpeg_reg.o \
|
||
|
msp/api/jpeg/src/src_hard/mpi_jpeg_handle.o \
|
||
|
msp/api/jpeg/src/src_hard/mpi_jpeg_comm.o \
|
||
|
msp/drv/jpeg/src/drv_jpeg_hal.o \
|
||
|
gfx/gfx_decode_ext.o \
|
||
|
gfx/gfx_video_ext.o \
|
||
|
gfx/gfx_mem_ext.o \
|
||
|
gfx/gfx_show_ext.o \
|
||
|
gfx/gfx_layer_ext.o \
|
||
|
gfx/gfx_surface_ext.o \
|
||
|
tde/gfx_blit_ext.o \
|
||
|
tde/boot_tde_ext.o
|