mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Armin Kuster <akuster808@gmail.com>
31 lines
997 B
BlitzBasic
31 lines
997 B
BlitzBasic
require wireguard.inc
|
|
|
|
SRCREV = "43f57dac7b8305024f83addc533c9eede6509129"
|
|
|
|
SRC_URI = "git://git.zx2c4.com/wireguard-linux-compat;branch=master \
|
|
file://0001-compat-SYM_FUNC_-START-END-were-backported-to-5.4.patch \
|
|
file://0001-compat-icmp_ndo_send-functions-were-backported-exten.patch "
|
|
|
|
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
|
|
}
|