kernel.bbclass: Revert ${base_libdir} change

The base_libdir change in 5b8a4798ea
breaks the kernel build for 64 bit machines. Revert this part of the
change.

(From OE-Core rev: 351bdc59f8af915ae203af7799eedc0ce42785f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2012-08-05 19:48:44 +00:00
parent e72a154603
commit ef98412865
1 changed files with 4 additions and 4 deletions

View File

@ -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