mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-18 03:30:40 +00: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>
28 lines
852 B
Plaintext
28 lines
852 B
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have a packages directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "networking-layer"
|
|
BBFILE_PATTERN_networking-layer := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_networking-layer = "5"
|
|
|
|
# This should only be incremented on significant changes that will
|
|
# cause compatibility issues with other layers
|
|
LAYERVERSION_networking-layer = "1"
|
|
|
|
LAYERDEPENDS_networking-layer = "core"
|
|
LAYERDEPENDS_networking-layer += "openembedded-layer"
|
|
LAYERDEPENDS_networking-layer += "meta-python"
|
|
|
|
LICENSE_PATH += "${LAYERDIR}/licenses"
|
|
|
|
# Override security flags
|
|
require conf/distro/include/meta_networking_security_flags.inc
|
|
|
|
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
|
wireguard-tools->wireguard-module \
|
|
"
|