wireguard
This commit is contained in:
parent
6c198e0402
commit
2c945ab0e0
|
@ -13,7 +13,6 @@ kernel_surum=$(ls /lib/modules/)
|
||||||
derle() {
|
derle() {
|
||||||
cd "WireGuard-$surum"
|
cd "WireGuard-$surum"
|
||||||
unset LDFLAGS
|
unset LDFLAGS
|
||||||
mv /lib/modules/${kernel_surum}/build/vmlinux /lib/modules/${kernel_surum}/build/vmlinux.tmp
|
|
||||||
make -C src/ \
|
make -C src/ \
|
||||||
KERNELDIR=/lib/modules/${kernel_surum}/build module
|
KERNELDIR=/lib/modules/${kernel_surum}/build module
|
||||||
cd "src"
|
cd "src"
|
||||||
|
@ -22,5 +21,4 @@ derle() {
|
||||||
install -v -D -m644 ${module} \
|
install -v -D -m644 ${module} \
|
||||||
"$PKG/lib/modules/$kernel_surum/extra/${module}"
|
"$PKG/lib/modules/$kernel_surum/extra/${module}"
|
||||||
done
|
done
|
||||||
mv /lib/modules/${kernel_surum}/build/vmlinux.tmp /lib/modules/${kernel_surum}/build/vmlinux
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue