wireguard

This commit is contained in:
milisbir 2018-08-17 12:29:00 +03:00
parent 6c198e0402
commit 2c945ab0e0
1 changed files with 0 additions and 2 deletions

View File

@ -13,7 +13,6 @@ kernel_surum=$(ls /lib/modules/)
derle() {
cd "WireGuard-$surum"
unset LDFLAGS
mv /lib/modules/${kernel_surum}/build/vmlinux /lib/modules/${kernel_surum}/build/vmlinux.tmp
make -C src/ \
KERNELDIR=/lib/modules/${kernel_surum}/build module
cd "src"
@ -22,5 +21,4 @@ derle() {
install -v -D -m644 ${module} \
"$PKG/lib/modules/$kernel_surum/extra/${module}"
done
mv /lib/modules/${kernel_surum}/build/vmlinux.tmp /lib/modules/${kernel_surum}/build/vmlinux
}