summaryrefslogtreecommitdiffstats
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-22 11:35:20 +0000
commit0decf1cc1c35dd70f3b822e3b4291a810a319ba0 (patch)
treeda5df167d83a345a57a81ddce9346e0aff33c474 /meta/classes/module.bbclass
parent6a2e06e5d4b1d3288de4542a0929426b43fbab12 (diff)
downloadpoky-0decf1cc1c35dd70f3b822e3b4291a810a319ba0.tar.gz
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. (From OE-Core rev: 22f5ba7154fcbe826d0a3283740903312b2aab46) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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() {
31 31
32module_do_install() { 32module_do_install() {
33 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS 33 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
34 oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" \ 34 oe_runmake DEPMOD=echo MODLIB="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}" \
35 CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ 35 CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
36 O=${STAGING_KERNEL_BUILDDIR} \ 36 O=${STAGING_KERNEL_BUILDDIR} \
37 ${MODULES_INSTALL_TARGET} 37 ${MODULES_INSTALL_TARGET}