mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. The recipes add the current experimental snapshot v0.0.20170421 out-of-tree kernel module and tools. The kernel module has some kernel configuration dependencies such as some configuration part of features/netfilter/netfilter.scc, hence netfilter.scc should be part of KERNEL_EXTRA_FEATURES (which is the case by default). Since wireguard-tools is TUNE_PKGARCH and depends on wireguard-module which is MACHINE_ARCH (like all kernel modules) we need to add this dependency to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
14 lines
396 B
BlitzBasic
14 lines
396 B
BlitzBasic
require wireguard.inc
|
|
|
|
inherit module
|
|
|
|
# This module requires Linux 3.10 higher and several networking related
|
|
# configuration options. For exact kernel requirements visit:
|
|
# https://www.wireguard.io/install/#kernel-requirements
|
|
|
|
EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}"
|
|
MAKE_TARGETS = "module"
|
|
MODULES_INSTALL_TARGET = "module-install"
|
|
|
|
RRECOMMENDS_${PN} = "kernel-module-xt-hashlimit"
|