gdb-common.inc: Add -f to rm the files dont exist while building target gdb
authorKhem Raj <raj.khem@gmail.com>
Thu, 15 Jul 2010 20:16:48 +0000 (13:16 -0700)
committerKhem Raj <raj.khem@gmail.com>
Thu, 15 Jul 2010 20:18:09 +0000 (13:18 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/gdb/gdb-common.inc

index 1e0d7c2..c3eef69 100644 (file)
@@ -23,7 +23,7 @@ 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
+       rm -f ${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