kernel.bbclass: Dont package kxgettext.o
authorKhem Raj <raj.khem@gmail.com>
Sat, 14 Jul 2012 18:21:46 +0000 (11:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jul 2012 09:54:02 +0000 (10:54 +0100)
kxgettext.o is generated when building ppc kernels
so we end up with packaging errors like

> ERROR: QA Issue: Architecture did not match (20 to 62) on
> /work/virtex5-poky-linux/linux-xilinx-2.6.38-r00/packages-split/kernel-dev/usr/src/kernel/scripts/kconfig/kxgettext.o

(From OE-Core rev: 77278bd23617834c7f90b3b24a9945ec081dbb38)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass

index 81c334b..fd744e7 100644 (file)
@@ -191,7 +191,7 @@ kernel_do_install() {
        # during do_package for cross-compiled platforms
        bin_files="arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff \
                   arch/powerpc/boot/mktree scripts/kconfig/zconf.tab.o \
-                  scripts/kconfig/conf.o"
+                  scripts/kconfig/conf.o scripts/kconfig/kxgettext.o"
        for entry in $bin_files; do
                rm -f $kerneldir/$entry
        done