mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
wireguard: add dependencies and kernel build options
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
@@ -1,12 +1,20 @@
|
|||||||
require wireguard.inc
|
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
|
# This module requires Linux 3.10 higher and several networking related
|
||||||
# configuration options. For exact kernel requirements visit:
|
# configuration options. For exact kernel requirements visit:
|
||||||
# https://www.wireguard.io/install/#kernel-requirements
|
# 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"
|
MAKE_TARGETS = "module"
|
||||||
MODULES_INSTALL_TARGET = "module-install"
|
MODULES_INSTALL_TARGET = "module-install"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user