gator: ARM DS-5.3 Streamline gator driver
[android-sdk/arm-ds5-gator.git] / Makefile
1 ifneq ($(KERNELRELEASE),)
3 obj-m := gator.o
5 gator-objs :=   gator_main.o \
6                 gator_events_armv6.o \
7                 gator_events_armv7.o \
8                 gator_events_irq.o \
9                 gator_events_sched.o \
10                 gator_events_block.o \
11                 gator_events_meminfo.o
13 else
15 all:
16         @echo
17         @echo "usage:"
18         @echo "      make -C <kernel_build_dir> M=\`pwd\` ARCH=arm CROSS_COMPILE=<...> modules"
19         @echo
20         $(error)
22 clean:
23         rm -f *.o .*.cmd */*.o */.*.cmd modules.order Module.symvers gator.ko gator.mod.c
25 endif