Skip to content
This repository was archived by the owner on Apr 12, 2020. It is now read-only.

Commit 0e174d0

Browse files
author
南琴浪
authored
update Makefile
1 parent c175c14 commit 0e174d0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Makefile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
obj-m := tcp_nanqinlang.o
2+
3+
all:
4+
make -C /lib/modules/`uname -r`/build M=`pwd` modules CC=/usr/bin/gcc-4.9
5+
6+
clean:
7+
make -C /lib/modules/`uname -r`/build M=`pwd` clean
8+
9+
install:
10+
install tcp_nanqinlang.ko /lib/modules/`uname -r`/kernel/net/ipv4
11+
insmod /lib/modules/`uname -r`/kernel/net/ipv4/tcp_nanqinlang.ko
12+
depmod -a
13+
14+
uninstall:
15+
rm /lib/modules/`uname -r`/kernel/net/ipv4/tcp_nanqinlang.ko

0 commit comments

Comments
 (0)