]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: Revert ${base_libdir} change
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 5 Aug 2012 19:48:44 +0000 (19:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Aug 2012 10:15:09 +0000 (11:15 +0100)
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>
meta/classes/kernel.bbclass

index b434093561d5b99c0fddf7716f1204de50c7ede4..e2f2441802eb7513e6e852af6ed11ae16d36c53c 100644 (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