diff --git a/package/gluon-mesh-vpn-fastd-l2tp/Makefile b/package/gluon-mesh-vpn-fastd-l2tp/Makefile
index 8eb5f6ec69ebda16fb19422275766547200e82ef..7a1270ac136019a24d8fbac7820ccfe6c1357158 100644
--- a/package/gluon-mesh-vpn-fastd-l2tp/Makefile
+++ b/package/gluon-mesh-vpn-fastd-l2tp/Makefile
@@ -7,7 +7,7 @@ include ../gluon.mk
 
 define Package/gluon-mesh-vpn-fastd-l2tp
   TITLE:=Support for connecting meshes via fastd (with L2TP kernel offloading)
-  DEPENDS:=+gluon-core +gluon-mesh-vpn-fastd +kmod-l2tp-eth +@GLUON_SPECIALIZE_KERNEL:KERNEL_L2TP
+  DEPENDS:=+gluon-core +gluon-mesh-vpn-fastd +kmod-l2tp-eth
 endef
 
 $(eval $(call BuildPackageGluon,gluon-mesh-vpn-fastd-l2tp))
diff --git a/package/gluon-mesh-vpn-wireguard/Makefile b/package/gluon-mesh-vpn-wireguard/Makefile
index cae8781a45d1bc10101ddb2fcee825dbf163c1e0..61c5333200e24744cf5aa6927228b324d075899e 100644
--- a/package/gluon-mesh-vpn-wireguard/Makefile
+++ b/package/gluon-mesh-vpn-wireguard/Makefile
@@ -6,7 +6,7 @@ include ../gluon.mk
 
 define Package/gluon-mesh-vpn-wireguard
   TITLE:=Support for connecting meshes via wireguard
-  DEPENDS:=+gluon-core +libgluonutil +gluon-mesh-vpn-core +wireguard-tools +@GLUON_SPECIALIZE_KERNEL:KERNEL_TUN +wgpeerselector +libubus
+  DEPENDS:=+gluon-core +libgluonutil +gluon-mesh-vpn-core +wireguard-tools +wgpeerselector +libubus
 endef
 
 $(eval $(call BuildPackageGluon,gluon-mesh-vpn-wireguard))