]> code.ossystems Code Review - openembedded-core.git/commit
gdb-cross: Adjust ${datadir} to avoid file conflicts in sysroot
authorPhil Blundell <pb@pbcl.net>
Wed, 24 Apr 2013 15:15:54 +0000 (16:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Apr 2013 13:43:50 +0000 (14:43 +0100)
commit3e87aba1ee2ca0e39ba66fb7cba52e48df499c23
tree85a98f601e21bd5639b892cfa715435790662aa2
parent9263a2192ccf8ca513cbf7f2f88473e267e6b945
gdb-cross: Adjust ${datadir} to avoid file conflicts in sysroot

GDB wants to install a bunch of files in ${datadir}/gdb/python/gdb
and ${datadir}/gdb/syscalls.  These pathnames are invariant with
TARGET_ARCH which means that if you build gdb multiple times for
different targets they will all try to write to the same location
and you get a lot of warning spew about manifest conflicts.

Prevent this by factoring the target specification into ${datadir}
so that different copies of GDB install their files into different
paths.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/gdb/gdb-cross.inc