aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gdb/gdb-common.inc
diff options
context:
space:
mode:
authorGraham Gower <graham.gower@gmail.com>2010-09-29 15:00:12 +0000
committerKhem Raj <raj.khem@gmail.com>2010-09-30 13:15:07 -0700
commitf4d1cd6975bc224b32a6f0350658147244ce4ada (patch)
treedf627fe5d429009ea87029f8db12e48f925b8e5e /recipes/gdb/gdb-common.inc
parent6ccae1e558a51eb919a59b19e480742b88f1224e (diff)
downloadopenembedded-f4d1cd6975bc224b32a6f0350658147244ce4ada.tar.gz
gdb: Don't clobber files installed by binutils.
Also, move INC_PR into gdb-common.inc and propagate it into all recipes. Signed-off-by: Graham Gower <graham.gower@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/gdb/gdb-common.inc')
-rw-r--r--recipes/gdb/gdb-common.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes/gdb/gdb-common.inc b/recipes/gdb/gdb-common.inc
index c3eef690d7..344c10b4db 100644
--- a/recipes/gdb/gdb-common.inc
+++ b/recipes/gdb/gdb-common.inc
@@ -4,6 +4,8 @@ LICENSE="GPL"
SECTION = "devel"
PRIORITY = "optional"
+INC_PR = "r8"
+
inherit autotools
SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz"
@@ -31,7 +33,12 @@ do_install_append() {
# We use libiberty from binutils
rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
- rm -f ${D}${libdir}/libiberty.a
+ rm -f ${D}${prefix}/lib{,64}/libiberty.a
+
+ # Use libbfd from binutils.
+ rm -f ${D}${prefix}/lib/libbfd.{,l}a
+ # Use libopcodes from binutils.
+ rm -f ${D}${prefix}/lib/libopcodes.{,l}a
}