summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorJoe MacDonald <joe_macdonald@mentor.com>2017-04-26 15:07:46 -0400
committerJoe MacDonald <joe_macdonald@mentor.com>2017-04-27 12:04:37 -0400
commitbf357b2e488b8edf9bb649f95eae32dacf22020b (patch)
tree9b5e0a6a2b4ca12edafcc47024e702376eb70031 /meta-networking
parent9867ffa48e2a4001fa743e5a0b9a96074da46ffb (diff)
downloadmeta-openembedded-bf357b2e488b8edf9bb649f95eae32dacf22020b.tar.gz
wireguard: add dependencies and kernel build options
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-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