diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2019-01-30 16:05:50 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-01-30 17:17:54 -0800 |
commit | ddb7d61eec4f389df5cbac66d9214ba36a5c5aca (patch) | |
tree | b269cc2122f81da0c56f3145bc858a5b3240f321 /meta-networking/recipes-kernel | |
parent | db13bed51c822c65c77c645db828a6f0818117d4 (diff) | |
download | meta-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.bb | 4 |
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" | |||
25 | PKG_${PN} = "kernel-module-${MODULE_NAME}" | 25 | PKG_${PN} = "kernel-module-${MODULE_NAME}" |
26 | 26 | ||
27 | module_do_install() { | 27 | module_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 | } |