aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-03-23 12:31:49 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-23 12:01:46 +0000
commit231cdeec05f82a8b16141098ca9ca6df41ebe396 (patch)
treeaeace8ac505c655db893fa62b04058e01caf4c6d /meta/recipes-devtools/gdb/gdb-cross-canadian.inc
parent91f6d5777e4fc9f261c361f41eda397a4903b334 (diff)
downloadopenembedded-core-contrib-231cdeec05f82a8b16141098ca9ca6df41ebe396.tar.gz
openembedded-core-contrib-231cdeec05f82a8b16141098ca9ca6df41ebe396.tar.bz2
openembedded-core-contrib-231cdeec05f82a8b16141098ca9ca6df41ebe396.zip
gdb-cross-canadian: not shipping libiberty.
Fixed package QA warnings. WARNING: QA Issue: non -staticdev package contains static .a library: gdb-cross-canadian-i586 path '/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-i586-7.4-r6.3/packages-split/gdb-cross-canadian-i586/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/lib/libiberty.a' Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-cross-canadian.inc')
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index a7cac615d8..47d7d28a2b 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -23,3 +23,9 @@ exit 0
EOF
chmod +x ${WORKDIR}/python
}
+
+# we don't want gdb to provide bfd/iberty/opcodes, which instead will override the
+# right bits installed by binutils.
+do_install_append() {
+ rm -rf ${D}${exec_prefix}/lib
+}