]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gdb: don't bundle bfd.info -- leave that to binutils.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 16 Mar 2017 14:20:52 +0000 (10:20 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Mar 2017 11:55:24 +0000 (11:55 +0000)
We see:

  file /usr/share/info/bfd.info conflicts between attempted installs
  of gdb-doc-7.12.1-r0.core2_64 and binutils-doc-2.28-r0.core2_64

You can't really have gdb and not binutils, so there is no need
to do alternatives here ; just clobber the one from gdb and let
the binutils one be the default.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gdb/gdb-common.inc

index 5b8087c3ba8fbd4384af17da73963969fc68ffc7..239b37586b773b73af8ac4a2f281477376a37635 100644 (file)
@@ -47,11 +47,12 @@ do_configure () {
 }
 
 # we don't want gdb to provide bfd/iberty/opcodes, which instead will override the
-# right bits installed by binutils.
+# right bits installed by binutils.  Same for bfd.info -- also from binutils.
 do_install_append() {
        rm -rf ${D}${libdir}
        rm -rf ${D}${includedir}
        rm -rf ${D}${datadir}/locale
+       rm -f ${D}${infodir}/bfd.info
 }
 
 RRECOMMENDS_gdb_append_linux = " glibc-thread-db "