aboutsummaryrefslogtreecommitdiff
path: root/driver/Makefile
diff options
context:
space:
mode:
authorDrew Richardson <drew.richardson@arm.com>2011-07-28 12:00:00 -0700
committerDrew Richardson <drew.richardson@arm.com>2014-12-19 15:11:29 -0800
commit73158f9d05b7087bb6ff895e820017af3c94a1a6 (patch)
tree721e2415eafaf46a659770672a46ad8731360315 /driver/Makefile
parent538231c5bf600e61a4ac4f7a25e6ba2c61ad68ee (diff)
gator: Version 5.65.6
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Diffstat (limited to 'driver/Makefile')
-rw-r--r--driver/Makefile25
1 files changed, 22 insertions, 3 deletions
diff --git a/driver/Makefile b/driver/Makefile
index 0583ae3..b3680e1 100644
--- a/driver/Makefile
+++ b/driver/Makefile
@@ -2,15 +2,34 @@ ifneq ($(KERNELRELEASE),)
obj-m := gator.o
-gator-objs := gator_main.o \
- gator_events_armv6.o \
- gator_events_armv7.o \
+gator-y := gator_main.o \
gator_events_irq.o \
gator_events_sched.o \
gator_events_net.o \
gator_events_block.o \
gator_events_meminfo.o
+gator-y += gator_events_mmaped.o
+
+ifneq ($(GATOR_WITH_MALI_SUPPORT),)
+gator-y += gator_events_mali.o
+endif
+
+gator-$(CONFIG_ARM) += gator_events_armv6.o \
+ gator_events_armv7.o \
+ gator_events_pl310.o
+
+$(obj)/gator_main.o: gator_events.h
+
+clean-files := gator_events.h
+
+ chk_events.h = :
+ quiet_chk_events.h = echo ' CHK $@'
+silent_chk_events.h = :
+gator_events.h: FORCE
+ @$($(quiet)chk_events.h)
+ $(Q)cd $(obj) ; $(CONFIG_SHELL) $(obj)/gator_events.sh $@
+
else
all: