mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
wireguard-linux-compat: only build for raspberrypi
This commit is contained in:
parent
10178defe9
commit
ea2056ecef
@ -23,15 +23,11 @@ if [ "$OPENVPN_SUPPORT" = "yes" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$WIREGUARD_SUPPORT" = "yes" ]; then
|
if [ "$WIREGUARD_SUPPORT" = "yes" ]; then
|
||||||
|
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET wireguard-tools"
|
||||||
# projects using Linux 5.6+ can use the in-kernel module
|
# projects using Linux 5.6+ can use the in-kernel module
|
||||||
case $PROJECT in
|
if [ "$LINUX" = "raspberrypi" ]; then
|
||||||
Allwinner|Amlogic|Generic|NXP|Qualcomm)
|
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET wireguard-linux-compat"
|
||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET wireguard-tools"
|
fi
|
||||||
;;
|
|
||||||
*)
|
|
||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET wireguard-tools wireguard-linux-compat"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# nss needed by inputstream.adaptive, chromium etc.
|
# nss needed by inputstream.adaptive, chromium etc.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user