summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-kernel/wireguard
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-kernel/wireguard')
-rw-r--r--meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb
index cb21bda93..0f59c86e2 100644
--- a/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb
+++ b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb
@@ -1,12 +1,20 @@
1require wireguard.inc 1require wireguard.inc
2 2
3inherit module 3inherit module-base kernel-module-split
4
5DEPENDS = "virtual/kernel libmnl"
4 6
5# This module requires Linux 3.10 higher and several networking related 7# This module requires Linux 3.10 higher and several networking related
6# configuration options. For exact kernel requirements visit: 8# configuration options. For exact kernel requirements visit:
7# https://www.wireguard.io/install/#kernel-requirements 9# https://www.wireguard.io/install/#kernel-requirements
8 10
9EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}" 11EXTRA_OEMAKE_append = " \
12 KERNELDIR=${STAGING_KERNEL_DIR} \
13 CC='${CC}' \
14 KERNEL_CC='${KERNEL_CC}' \
15 "
16KERNEL_MODULES_META_PACKAGE = "${PN}"
17
10MAKE_TARGETS = "module" 18MAKE_TARGETS = "module"
11MODULES_INSTALL_TARGET = "module-install" 19MODULES_INSTALL_TARGET = "module-install"
12 20