summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-kernel
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2019-01-30 16:05:50 +0100
committerKhem Raj <raj.khem@gmail.com>2019-01-30 17:17:54 -0800
commitddb7d61eec4f389df5cbac66d9214ba36a5c5aca (patch)
treeb269cc2122f81da0c56f3145bc858a5b3240f321 /meta-networking/recipes-kernel
parentdb13bed51c822c65c77c645db828a6f0818117d4 (diff)
downloadmeta-openembedded-ddb7d61eec4f389df5cbac66d9214ba36a5c5aca.tar.gz
wireguard: use ${nonarch_base_libdir} for modules
Use ${nonarch_base_libdir} for modules. This makes this recipe working also when using usrmerge. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-kernel')
-rw-r--r--meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb
index 2c69c58f8..badc97a97 100644
--- a/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb
+++ b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb
@@ -25,7 +25,7 @@ MODULE_NAME = "wireguard"
25PKG_${PN} = "kernel-module-${MODULE_NAME}" 25PKG_${PN} = "kernel-module-${MODULE_NAME}"
26 26
27module_do_install() { 27module_do_install() {
28 install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME} 28 install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}
29 install -m 0644 ${MODULE_NAME}.ko \ 29 install -m 0644 ${MODULE_NAME}.ko \
30 ${D}/lib/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}/${MODULE_NAME}.ko 30 ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}/${MODULE_NAME}.ko
31} 31}