gdb-cross-sdk: drop bfd&opcodes messages from the archive
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 15 Jun 2010 14:28:17 +0000 (18:28 +0400)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 15 Jun 2010 14:39:28 +0000 (18:39 +0400)
As a way to restore meta-toolchain generation, drop bfd.mo and
opcodes.mo from gdb-cross-sdk archives, as these files clash with ones
from binutils-cross-sdk.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
recipes/gdb/gdb-cross-sdk.inc

index 3e6f509..c78d950 100644 (file)
@@ -1,7 +1,7 @@
 require gdb-cross.inc
 LICENSE = "GPLv3"
 
-INC_PR = "r3"
+INC_PR = "r4"
 
 inherit sdk
 
@@ -11,3 +11,9 @@ do_stage() {
        :
 }
 
+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
+}
+