wireguard
This commit is contained in:
parent
6c198e0402
commit
2c945ab0e0
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue