summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-05 19:48:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-07 11:15:09 +0100
commit351bdc59f8af915ae203af7799eedc0ce42785f2 (patch)
tree04a482168840de9e9c1dedefeecd41b5a7fad3fb /meta/classes
parent2b23cd1c8f81de989bce1ecab2d5b4328328de86 (diff)
downloadopenembedded-core-351bdc59f8af915ae203af7799eedc0ce42785f2.tar.gz
openembedded-core-351bdc59f8af915ae203af7799eedc0ce42785f2.tar.bz2
openembedded-core-351bdc59f8af915ae203af7799eedc0ce42785f2.zip
kernel.bbclass: Revert ${base_libdir} change
The base_libdir change in 5b8a4798ea2ea7df66bb53c26448251ea7da3dd9 breaks the kernel build for 64 bit machines. Revert this part of the change. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index b434093561..e2f2441802 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -109,10 +109,10 @@ kernel_do_install() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
- rm -f "${D}${base_libdir}/modules/${KERNEL_VERSION}/modules.order"
- rm -f "${D}${base_libdir}/modules/${KERNEL_VERSION}/modules.builtin"
- rm "${D}${base_libdir}/modules/${KERNEL_VERSION}/build"
- rm "${D}${base_libdir}/modules/${KERNEL_VERSION}/source"
+ rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.order"
+ rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.builtin"
+ rm "${D}/lib/modules/${KERNEL_VERSION}/build"
+ rm "${D}/lib/modules/${KERNEL_VERSION}/source"
else
bbnote "no modules to install"
fi