• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1obj-m := crasher.o
2KDIR := /lib/modules/$(shell uname -r)/build
3PWD := $(shell pwd)
4
5default:
6	$(MAKE) -C $(KDIR) M=$(PWD) modules
7
8
9clean:
10	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
11	rm -f Module.symvers
12#clean:
13#	rm -f *.mod.c *.ko *.o .*.cmd *.symvers
14#	rm -rf .tmp_versions
15