binutils-cross-sdk: Avoid QA error on building
authorHolger Hans Peter Freyther <zecke@selfish.org>
Wed, 14 Oct 2009 06:05:57 +0000 (14:05 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 22 Oct 2009 14:27:15 +0000 (16:27 +0200)
On a x86-64 build host trying to build meta-toolchain
for mips ended up with a .debug dir in the cross directory.

Fix the issue by placing this directory in the -dbg package

recipes/binutils/binutils-cross-sdk.inc

index 4d5a6df..da00965 100644 (file)
@@ -6,6 +6,9 @@ EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
                        --enable-install-libbfd \
                 --disable-werror"
 
+# In case we end up with a .debug dir
+FILES_${PN}-dbg += "${prefix}/${HOST_PREFIX}${BUILD_SYS}/${TARGET_SYS}/lib/.debug/*"
+
 do_stage() {
        :
 }