mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
24 lines
761 B
BlitzBasic
24 lines
761 B
BlitzBasic
require wireguard.inc
|
|
|
|
inherit module-base 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} \
|
|
CC='${CC}' \
|
|
KERNEL_CC='${KERNEL_CC}' \
|
|
"
|
|
KERNEL_MODULES_META_PACKAGE = "${PN}"
|
|
|
|
MAKE_TARGETS = "module"
|
|
MODULES_INSTALL_TARGET = "module-install"
|
|
|
|
RRECOMMENDS_${PN} = "kernel-module-xt-hashlimit"
|
|
|
|
PNBLACKLIST[wireguard-module] ?= "BROKEN: Kernel configuration invalid (http://errors.yoctoproject.org/Errors/Details/141421/) - the recipe will be removed on 2017-07-01 unless the issue is fixed"
|