blob: 86a92fcb05472840841b6e3b7be04db6a2bf9463 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
obj-m += raptor.o
KERNELVER ?= $(shell uname -r)
KERNELDIR ?= /lib/modules/$(KERNELVER)
PWD := $(shell pwd)
INSTALL_MOD_DIR ?= extra
all:
make -C $(KERNELDIR)/build M=$(PWD) modules
clean:
make -C $(KERNELDIR)/build M=$(PWD) clean
install:
make -C $(KERNELDIR)/build M=$(PWD) modules_install
/sbin/depmod -a $(KERNELVER)
uninstall:
rm $(KERNELDIR)/$(INSTALL_MOD_DIR)/raptor.ko.gz
/sbin/depmod -a $(KERNELVER)
|