From 231cdeec05f82a8b16141098ca9ca6df41ebe396 Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Fri, 23 Mar 2012 12:31:49 +0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 6 ++++++ meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc index a7cac615d..47d7d28a2 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 +} diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb index dbcffde4e..dfb7d8122 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb @@ -1,7 +1,7 @@ require gdb-common.inc require gdb-cross-canadian.inc -PR = "${INC_PR}.3" +PR = "${INC_PR}.4" GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" EXPAT = "--with-expat" -- cgit v1.2.3