summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2018-08-28 16:43:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-29 10:42:48 +0100
commitff9f07b8a4beac1b1ae93ef6bb97901be80d0b78 (patch)
tree46839f7bb950d08d378b010659a7ce8bfdd2e755 /meta/recipes-kernel/kmod
parent045b3c2cd3a0ac5cf666c8626bf0843ec5048597 (diff)
downloadpoky-ff9f07b8a4beac1b1ae93ef6bb97901be80d0b78.tar.gz
kmod: do not reset $bindir/sbindir, use EXTRA_OECONF instead
This was causing issues with classes that use $bindir to find already installed binaries in rootfs (manpages class in particular). $bindir needs to be the same for all recipes. (From OE-Core rev: 3d92bce5a8e021c03e509e8ee6ead064e97bfcec) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kmod')
-rw-r--r--meta/recipes-kernel/kmod/kmod_git.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb
index 69185b2453..b25679359b 100644
--- a/meta/recipes-kernel/kmod/kmod_git.bb
+++ b/meta/recipes-kernel/kmod/kmod_git.bb
@@ -13,9 +13,7 @@ RREPLACES_${PN} += "module-init-tools-insmod-static module-init-tools-depmod mod
13RCONFLICTS_libkmod2 += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools" 13RCONFLICTS_libkmod2 += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
14 14
15# autotools set prefix to /usr, however we want them in /bin and /sbin 15# autotools set prefix to /usr, however we want them in /bin and /sbin
16bindir = "${base_bindir}" 16EXTRA_OECONF += " --bindir=${base_bindir} --sbindir=${base_sbindir}"
17sbindir = "${base_sbindir}"
18# libdir = "${base_libdir}"
19 17
20do_install_append () { 18do_install_append () {
21 install -dm755 ${D}${base_bindir} 19 install -dm755 ${D}${base_bindir}