gdb-common.inc: Nuke a few more possible conflicts.
authorTom Rini <tom_rini@mentor.com>
Mon, 4 Oct 2010 23:29:17 +0000 (16:29 -0700)
committerTom Rini <tom_rini@mentor.com>
Mon, 4 Oct 2010 23:56:07 +0000 (16:56 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/gdb/gdb-common.inc

index 344c10b..48a12d1 100644 (file)
@@ -23,13 +23,16 @@ 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 -f ${D}/${datadir}/locale/*/LC_MESSAGES/{bfd,opcodes}.mo
+       # these mo and doc 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 -f ${D}${datadir}/locale/*/LC_MESSAGES/{bfd,opcodes}.mo
+       rm -rf ${D}${docdir}/bfd.html
 
        # we don't care about these infos, installed from binutils
-       rm -f ${D}/${infodir}/{configure,standards,bfd}.info
-       rm -f ${D}/${infodir}/dir
+       rm -f ${D}${infodir}/{configure,standards,bfd}.info
+       rm -f ${D}${docdir}/{configure,standards,bfd,libiberty}.html
+       rm -f ${D}${infodir}/dir
 
        # We use libiberty from binutils
        rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
@@ -41,4 +44,3 @@ do_install_append() {
        # Use libopcodes from binutils.
        rm -f ${D}${prefix}/lib/libopcodes.{,l}a
 }
-