diff options
Diffstat (limited to 'meta-networking/recipes-kernel/wireguard')
-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 | ||