blob: 0f59c86e22ece4afb23d3396ff92347d6466d86c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require wireguard.inc
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_append = " \
KERNELDIR=${STAGING_KERNEL_DIR} \
CC='${CC}' \
KERNEL_CC='${KERNEL_CC}' \
"
KERNEL_MODULES_META_PACKAGE = "${PN}"
MAKE_TARGETS = "module"
MODULES_INSTALL_TARGET = "module-install"
RRECOMMENDS_${PN} = "kernel-module-xt-hashlimit"
|