diff options
author | Pawel Moll <pawel.moll@arm.com> | 2011-03-14 15:21:50 +0000 |
---|---|---|
committer | Pawel Moll <pawel.moll@arm.com> | 2011-03-14 15:21:50 +0000 |
commit | 4b1652908140265b28795a529b73ebb41d690c15 (patch) | |
tree | 89c9843690ed739683e54b704097469cc6f3900f /Makefile |
gator: ARM DS-5.3 Streamline gator driverDS-5.3
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8e679a7 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +ifneq ($(KERNELRELEASE),) + +obj-m := gator.o + +gator-objs := gator_main.o \ + gator_events_armv6.o \ + gator_events_armv7.o \ + gator_events_irq.o \ + gator_events_sched.o \ + gator_events_block.o \ + gator_events_meminfo.o + +else + +all: + @echo + @echo "usage:" + @echo " make -C <kernel_build_dir> M=\`pwd\` ARCH=arm CROSS_COMPILE=<...> modules" + @echo + $(error) + +clean: + rm -f *.o .*.cmd */*.o */.*.cmd modules.order Module.symvers gator.ko gator.mod.c + +endif |