diff options
author | Joe MacDonald <joe_macdonald@mentor.com> | 2017-04-26 15:07:46 -0400 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-04-27 12:04:37 -0400 |
commit | bf357b2e488b8edf9bb649f95eae32dacf22020b (patch) | |
tree | 9b5e0a6a2b4ca12edafcc47024e702376eb70031 /meta-networking/recipes-kernel | |
parent | 9867ffa48e2a4001fa743e5a0b9a96074da46ffb (diff) | |
download | meta-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/recipes-kernel')
-rw-r--r-- | meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb | 12 |
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 @@ | |||
1 | require wireguard.inc | 1 | require wireguard.inc |
2 | 2 | ||
3 | inherit module | 3 | inherit module-base kernel-module-split |
4 | |||
5 | DEPENDS = "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 | ||
9 | EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}" | 11 | EXTRA_OEMAKE_append = " \ |
12 | KERNELDIR=${STAGING_KERNEL_DIR} \ | ||
13 | CC='${CC}' \ | ||
14 | KERNEL_CC='${KERNEL_CC}' \ | ||
15 | " | ||
16 | KERNEL_MODULES_META_PACKAGE = "${PN}" | ||
17 | |||
10 | MAKE_TARGETS = "module" | 18 | MAKE_TARGETS = "module" |
11 | MODULES_INSTALL_TARGET = "module-install" | 19 | MODULES_INSTALL_TARGET = "module-install" |
12 | 20 | ||