diff options
Diffstat (limited to 'drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.platform')
-rw-r--r-- | drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.platform | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.platform b/drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.platform new file mode 100644 index 00000000000..ed84506163c --- /dev/null +++ b/drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.platform @@ -0,0 +1,28 @@ +#these are the build options for the ST-Ericsson Ux500 platforms. + +ifeq ($(CONFIG_UX500_SOC_DB5500),y) +DEFINES += -DSOC_DB5500=1 +endif + +CONFIG = ux500 +CPU = $(CONFIG) +TARGET_PLATFORM ?= $(CONFIG) +ARCH ?= arm +USING_MMU ?= 1 +USING_PMM ?= 1 +USING_UMP ?= 1 +USING_HWMEM ?= 1 +USING_OS_MEMORY ?= 1 +USING_GPU_UTILIZATION ?= 1 + +ifeq ($(CONFIG_GPU_MALI_DEBUG),y) +BUILD ?= debug +else +BUILD ?= release +endif + +KDIR-$(CPU)=$(srctree) + +EXTRA_CFLAGS += -I$(realpath $(DRIVER_DIR)/../../../include/ump) +EXTRA_CFLAGS += -I$(realpath $(DRIVER_DIR)/../ump/common) + |