blob: 8e679a7e017e75ef1ba11b8df20107a35be8a943 (
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
|
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
|