kmod: Use base_libdir for installing libkmod
authorKhem Raj <raj.khem@gmail.com>
Tue, 8 May 2012 22:39:28 +0000 (15:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 May 2012 20:01:52 +0000 (21:01 +0100)
This also helps avoid QA errors about binaries
accessing contents from /usr/lib

Also fixes emptry libkmod problem since now
the files are installed in expected place

(From OE-Core rev: 6b74f2461735272bd950a4f060dab6e778a36f92)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kmod/kmod_git.bb

index 8178f1c..0970ca8 100644 (file)
@@ -12,7 +12,7 @@ CONFLICTS_${PN} += "module-init-tools-insmod-static module-init-tools-depmod mod
 # autotools set prefix to /usr, however we want them in /bin and /sbin
 bindir = "${base_bindir}"
 sbindir = "${base_sbindir}"
-libdir = "${base_libdir}"
+libdir = "${base_libdir}"
 
 do_install_append () {
         install -dm755 ${D}${base_bindir}