summaryrefslogtreecommitdiff
path: root/meta/classes/module.bbclass
diff options
context:
space:
mode:
authorAmarnath Valluri <amarnath.valluri@intel.com>2017-01-04 13:58:23 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-21 22:43:01 +0000
commit22f5ba7154fcbe826d0a3283740903312b2aab46 (patch)
tree6c59ea3b17894678be55bb2c447f603fb3729a00 /meta/classes/module.bbclass
parent07d6d0fb4dc689008bb0022d7d2ecc890c9159e5 (diff)
downloadopenembedded-core-22f5ba7154fcbe826d0a3283740903312b2aab46.tar.gz
openembedded-core-22f5ba7154fcbe826d0a3283740903312b2aab46.tar.bz2
openembedded-core-22f5ba7154fcbe826d0a3283740903312b2aab46.zip
kernel: use ${nonarch_base_libdir} for kernel modules installation.
Replace hardcoded '/lib' in kernel modules installation path with ${nonarch_base_libdir}, which is meant exactly for this. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Diffstat (limited to 'meta/classes/module.bbclass')
-rw-r--r--meta/classes/module.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass
index 99b7ebc060..802476bc7a 100644
--- a/meta/classes/module.bbclass
+++ b/meta/classes/module.bbclass
@@ -31,7 +31,7 @@ module_do_compile() {
module_do_install() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
- oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" \
+ oe_runmake DEPMOD=echo MODLIB="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}" \
CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
O=${STAGING_KERNEL_BUILDDIR} \
${MODULES_INSTALL_TARGET}