[oe-commits] [meta-openembedded] 05/05: wireguard: add dependencies and kernel build options

git at git.openembedded.org git at git.openembedded.org
Thu Apr 27 16:05:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

joe_macdonald pushed a commit to branch master
in repository meta-openembedded.

commit bf357b2e488b8edf9bb649f95eae32dacf22020b
Author: Joe MacDonald <joe_macdonald at mentor.com>
AuthorDate: Wed Apr 26 15:07:46 2017 -0400

    wireguard: add dependencies and kernel build options
    
    Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>
---
 .../wireguard/wireguard-module_0.0.20170421.bb               | 12 ++++++++++--
 1 file 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 cb21bda..0f59c86 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 @@
 require wireguard.inc
 
-inherit module
+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 += "KERNELDIR=${STAGING_KERNEL_DIR}"
+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"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list