net-vpn/amneziawg-linux-kernel-module: remove WIREGUARD_VERSION var in Makefile
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
This commit is contained in:
parent
c06d163a4d
commit
b8cffeb26a
@ -39,6 +39,8 @@ pkg_setup() {
|
|||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
|
sed -i "/^WIREGUARD_VERSION =/Id" "${S}/src/Makefile" || die
|
||||||
|
|
||||||
if kernel_is -ge 5 6 0; then
|
if kernel_is -ge 5 6 0; then
|
||||||
# We need to select a directory with kernel sources.
|
# We need to select a directory with kernel sources.
|
||||||
# Usually, /usr/src/linux is the right choise, so we check it first.
|
# Usually, /usr/src/linux is the right choise, so we check it first.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user