aboutsummaryrefslogtreecommitdiff
path: root/driver/Makefile
blob: 0583ae31459705741d1f5c2ee2e656eb93deb812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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_net.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 modules.order Module.symvers gator.ko gator.mod.c

endif