kmod: Use base_libdir for installing libkmod

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>
This commit is contained in:
Khem Raj
2012-05-08 15:39:28 -07:00
committed by Richard Purdie
parent 7f5e732208
commit 6b5dbc8e33

View 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}