mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-08-15 17:28:04 +02:00
* it's not clear why it was added in first place and it's causing issues since: "package: get_package_mapping: avoid dependency mapping if renamed package provides original name" commit in oe-core as discussed in: https://lists.openembedded.org/g/openembedded-core/message/143672 https://github.com/openembedded/meta-openembedded/issues/285 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
34 lines
1.1 KiB
BlitzBasic
34 lines
1.1 KiB
BlitzBasic
require wireguard.inc
|
|
|
|
SRCREV = "fe402261666821514377d06c2c68ed9bc19e7634"
|
|
|
|
SRC_URI = "git://git.zx2c4.com/wireguard-linux-compat"
|
|
|
|
inherit module kernel-module-split
|
|
|
|
DEPENDS = "virtual/kernel libmnl"
|
|
|
|
# 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_append = " \
|
|
KERNELDIR=${STAGING_KERNEL_DIR} \
|
|
"
|
|
|
|
MAKE_TARGETS = "module"
|
|
|
|
RRECOMMENDS_${PN} = "kernel-module-xt-hashlimit"
|
|
MODULE_NAME = "wireguard"
|
|
|
|
module_do_install() {
|
|
install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}
|
|
install -m 0644 ${MODULE_NAME}.ko \
|
|
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}/${MODULE_NAME}.ko
|
|
}
|
|
|
|
# WireGuard has been merged into Linux kernel >= 5.6 and therefore this compatibility module is no longer required.
|
|
# OE-core post dunfell has moved to use kernel 5.8 which now means we cant build this module in world builds
|
|
# for reference machines e.g. qemu
|
|
EXCLUDE_FROM_WORLD = "1"
|