aboutsummaryrefslogtreecommitdiff
path: root/drivers/gator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gator/Makefile')
-rw-r--r--drivers/gator/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gator/Makefile b/drivers/gator/Makefile
index 3af8b8d80f20..0d4ca68701e0 100644
--- a/drivers/gator/Makefile
+++ b/drivers/gator/Makefile
@@ -21,10 +21,13 @@ gator-y += gator_events_mali_t6xx.o \
gator_events_mali_t6xx_hw.o
include $(M)/mali_t6xx.mk
else
-gator-y += gator_events_mali_400.o
+gator-y += gator_events_mali_4xx.o
endif
gator-y += gator_events_mali_common.o
EXTRA_CFLAGS += -DMALI_SUPPORT=$(GATOR_WITH_MALI_SUPPORT)
+ifneq ($(GATOR_MALI_INTERFACE_STYLE),)
+EXTRA_CFLAGS += -DGATOR_MALI_INTERFACE_STYLE=$(GATOR_MALI_INTERFACE_STYLE)
+endif
endif
# GATOR_TEST controls whether to include (=1) or exclude (=0) test code.
@@ -33,9 +36,12 @@ EXTRA_CFLAGS += -DGATOR_TEST=$(GATOR_TEST)
gator-$(CONFIG_ARM) += gator_events_armv6.o \
gator_events_armv7.o \
+ gator_events_ccn-504.o \
gator_events_l2c-310.o \
gator_events_scorpion.o
+gator-$(CONFIG_ARM64) += gator_events_ccn-504.o
+
$(obj)/gator_main.o: gator_events.h
clean-files := gator_events.h