summaryrefslogtreecommitdiff
path: root/recipes/binutils
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-10-14 14:05:57 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-10-22 16:27:15 +0200
commitb294033116a6a4f33d1b1ec9f8256adaf7374298 (patch)
tree93692f7236667aba3a810af25df637995954cdca /recipes/binutils
parent82ffbc9a75656400ae959e57e60dce9aa3fb9b41 (diff)
binutils-cross-sdk: Avoid QA error on building
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
Diffstat (limited to 'recipes/binutils')
-rw-r--r--recipes/binutils/binutils-cross-sdk.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/binutils/binutils-cross-sdk.inc b/recipes/binutils/binutils-cross-sdk.inc
index 4d5a6df493..da00965241 100644
--- a/recipes/binutils/binutils-cross-sdk.inc
+++ b/recipes/binutils/binutils-cross-sdk.inc
@@ -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() {
:
}