summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/gdb/gdb-cross-sdk.inc10
1 files changed, 9 insertions, 1 deletions
diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc
index c78d950d0a..eb15bb55e7 100644
--- a/recipes/gdb/gdb-cross-sdk.inc
+++ b/recipes/gdb/gdb-cross-sdk.inc
@@ -1,7 +1,7 @@
require gdb-cross.inc
LICENSE = "GPLv3"
-INC_PR = "r4"
+INC_PR = "r5"
inherit sdk
@@ -15,5 +15,13 @@ 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
+
+ # We use libiberty from binutils
+ rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
+ rm -f ${D}${libdir}/libiberty.a
+
}