[yocto] Kernel driver installs broken in poky2.3
Jeff.Glanz at dell.com
Jeff.Glanz at dell.com
Thu Oct 5 13:34:22 PDT 2017
Re: poky2.3 kernel driver install's
Poky release, pyro (2.3), file: meta/classes/module.bbclass
This change, made in January 2017, is breaking do_install's for our kernel drivers, as INSTALL_MOD_PATH is not defined. Our Makefiles reference this variable.
What was the purpose of this particular change?
diff:
commit 0decf1cc1c35dd70f3b822e3b4291a810a319ba0
Author: Amarnath Valluri <amarnath.valluri at intel.com>
Date: Wed Jan 4 13:58:23 2017 +0200
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
. . .
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass
index 99b7ebc..802476b 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}" \
Thanks!
Jeff Glanz
Senior Dev Prin Engineer, SCM & Release Engineering
Dell EMC | Server Solutions
Jeff.Glanz at dell.com<mailto:Jeff.Glanz at dell.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171005/886c0acd/attachment.html>
More information about the yocto
mailing list