diff options
Diffstat (limited to 'drivers/gpu/mali/mali400ko/driver/src/devicedrv/ump/Makefile')
-rw-r--r-- | drivers/gpu/mali/mali400ko/driver/src/devicedrv/ump/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/mali/mali400ko/driver/src/devicedrv/ump/Makefile b/drivers/gpu/mali/mali400ko/driver/src/devicedrv/ump/Makefile index 97225bbbf0b..c42eb937e72 100644 --- a/drivers/gpu/mali/mali400ko/driver/src/devicedrv/ump/Makefile +++ b/drivers/gpu/mali/mali400ko/driver/src/devicedrv/ump/Makefile @@ -20,8 +20,12 @@ endif # For each arch check: CROSS_COMPILE , KDIR , CFLAGS += -DARCH ARCH ?= arm -## @note Should allow overriding of building UMP for non-debug: +BUILD ?= debug + EXTRA_CFLAGS += -DDEBUG -DMALI_STATE_TRACKING=0 +ifeq ($(BUILD), debug) +EXTRA_CFLAGS += -DDEBUG +endif # linux build system integration |