summaryrefslogtreecommitdiff
path: root/recipes/gdb/gdb-common.inc
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2010-07-14 16:16:26 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2010-07-14 16:16:26 +0400
commit10fabfa670e4e49a9c9a025d94a87ef0d9c86cc0 (patch)
treedfe0d5662d9f849ccd3c2f2c23654e03c57d788f /recipes/gdb/gdb-common.inc
parent1a35b6063591e39cb54f30188a0f8baa36c5f61b (diff)
gdb: stop conflicting with binutils
To stop gdb file conflicts with binutils (in different ways) move removing of bfd/opcodes/libiberty stuff to gdb-common.inc. Also bump PRs to force rebuild. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'recipes/gdb/gdb-common.inc')
-rw-r--r--recipes/gdb/gdb-common.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/gdb/gdb-common.inc b/recipes/gdb/gdb-common.inc
index d6e0725189..1e0d7c2e9b 100644
--- a/recipes/gdb/gdb-common.inc
+++ b/recipes/gdb/gdb-common.inc
@@ -20,3 +20,18 @@ export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
S = "${WORKDIR}/gdb-${PV}"
B = "${WORKDIR}/build-${TARGET_SYS}"
+do_install_append() {
+ # these mo files from gdb-cross-sdk clash with files from binutils-cross-sdk
+ # when building sdk archives. Drop them for now as a way to restore toolchains.
+ rm ${D}/${datadir}/locale/*/LC_MESSAGES/{bfd,opcodes}.mo
+
+ # we don't care about these infos, installed from binutils
+ rm -f ${D}/${infodir}/{configure,standards,bfd}.info
+ rm -f ${D}/${infodir}/dir
+
+ # We use libiberty from binutils
+ rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
+ rm -f ${D}${libdir}/libiberty.a
+
+}
+