diff options
Diffstat (limited to 'driver/Makefile')
-rw-r--r-- | driver/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/driver/Makefile b/driver/Makefile index de59957..b3981ff 100644 --- a/driver/Makefile +++ b/driver/Makefile @@ -1,5 +1,8 @@ ifneq ($(KERNELRELEASE),) +# Uncomment the following line to enable kernel stack unwinding within gator, or update gator_backtrace.c +# EXTRA_CFLAGS += -DGATOR_KERNEL_STACK_UNWINDING + obj-m := gator.o gator-y := gator_main.o \ @@ -12,8 +15,13 @@ gator-y := gator_main.o \ gator-y += gator_events_mmaped.o ifneq ($(GATOR_WITH_MALI_SUPPORT),) +ifeq ($(GATOR_WITH_MALI_SUPPORT),MALI_T6xx) +gator-y += gator_events_mali_t6xx.o +else gator-y += gator_events_mali.o endif +EXTRA_CFLAGS += -DMALI_SUPPORT=$(GATOR_WITH_MALI_SUPPORT) +endif gator-$(CONFIG_ARM) += gator_events_armv6.o \ gator_events_armv7.o \ |