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.

70 lines
3.1 KiB

#===============================================================================
# export variables
#===============================================================================
ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
endif
$(warning CONFIG_SOCT_GFX2D_SUPPORT $(CONFIG_SOCT_GFX2D_SUPPORT))
$(warning CONFIG_SOCT_GFX2D_ANDROID_SUPPORT $(CONFIG_SOCT_GFX2D_ANDROID_SUPPORT))
$(warning CONFIG_SOCT_GFX2D_CS_SUPPORT $(CONFIG_SOCT_GFX2D_CS_SUPPORT))
#===============================================================================
# local variables
#===============================================================================
TARGET := gfx2d
ccflags-y += -Idrivers/drv/ioctl_inc/generic \
-Idrivers/drv/ioctl_inc/gfx2d \
-Idrivers/drv/ioctl_inc/tde \
-Idrivers/drv/ioctl_inc/common \
-Idrivers/drv/ext_inc/base \
-Idrivers/drv/ext_inc/osal \
-Idrivers/drv/ext_inc/common \
-Idrivers/drv/ext_inc/gfx2d \
-Idrivers/drv/ext_inc/tde \
-Idrivers/drv/ext_inc/gfbg \
-Idrivers/drv/memory \
-Idrivers/drv/common/include \
-Idrivers/drv/common/log \
-Idrivers/drv/gfx2d/grc_cmm_inc \
-Idrivers/drv/gfx2d/hal_v1_0 \
-Idrivers/drv/$(TARGET)/inc \
-Idrivers/drv/$(TARGET)/hal/inc \
-Idrivers/drv/$(TARGET)/src/dfx \
-Idrivers/drv/gfx2d/adp/hal_v1_0 \
-Idrivers/drv/ext_inc/dftevent \
-Idrivers/drv/gfx2d/err_report
EXTRA_CFLAGS += -Wno-unused-function
####################################################
GFX2D_CFLAGS = -DGFX2D_SYNC_TDE
GFX2D_VER_DIR = v2
EXTRA_CFLAGS += $(GFX2D_CFLAGS)
MODNAME := soc_$(TARGET)
obj-$(CONFIG_SOCT_GFX2D_SUPPORT) += $(MODNAME).o
$(MODNAME)-objs-y := src/drv_gfx2d_config.o \
src/drv_gfx2d_ctl.o \
src/drv_gfx2d_device.o \
src/drv_gfx2d_fence.o \
src/drv_gfx2d_hal.o \
src/drv_gfx2d_ioctl.o \
src/drv_gfx2d_list.o \
src/drv_gfx2d_mem.o \
src/drv_gfx2d_proc.o \
src/dfx/drv_gfx2d_dfx_node.o \
src/dfx/drv_gfx2d_dfx_timeline.o \
hal/v2/drv_gfx2d_filter_para.o \
hal/v2/drv_gfx2d_hal_features.o \
hal/v2/drv_gfx2d_filter_para.o \
hal/v2/drv_gfx2d_hal_hwc_adp.o \
hal/v2/drv_gfx2d_hal_hwc.o \
err_report/drv_gfx2d_fault_report.o
$(MODNAME)-objs := $($(MODNAME)-objs-y)