mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
wireguard: disable linux kernel module if not enabled in options
This commit is contained in:
parent
81ca6b93de
commit
3ae5345dca
@ -110,6 +110,11 @@ post_patch() {
|
||||
sed -e "s|^CONFIG_DRM_LIMA=.*$|# CONFIG_DRM_LIMA is not set|" -i $PKG_BUILD/.config
|
||||
sed -e "s|^CONFIG_DRM_PANFROST=.*$|# CONFIG_DRM_PANFROST is not set|" -i $PKG_BUILD/.config
|
||||
fi
|
||||
|
||||
# disable wireguard support if not enabled
|
||||
if [ ! "$WIREGUARD_SUPPORT" = yes ]; then
|
||||
sed -e "s|^CONFIG_WIREGUARD=.*$|# CONFIG_WIREGUARD is not set|" -i $PKG_BUILD/.config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user