mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
wireguard: add dependencies and kernel build options
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
9867ffa48e
commit
bf357b2e48
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user