path: root/meta/recipes-devtools/gdb/
diff options
authorPhil Blundell <>2013-04-24 16:15:54 +0100
committerRichard Purdie <>2013-04-29 14:45:06 +0100
commitac273d65641771f4516a88097c244d9ff643978b (patch)
tree53bc69545ea12a5c2658b6b9bf9447cd756472fe /meta/recipes-devtools/gdb/
parentf2f835632c0ca5cc6cd3fcec91e4890ecb041698 (diff)
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. (From OE-Core rev: 3e87aba1ee2ca0e39ba66fb7cba52e48df499c23) Signed-off-by: Phil Blundell <> Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-devtools/gdb/')
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/ b/meta/recipes-devtools/gdb/
index 33feb58..a92d032 100644
--- a/meta/recipes-devtools/gdb/
+++ b/meta/recipes-devtools/gdb/
@@ -10,3 +10,5 @@ GDBPROPREFIX = ""
inherit cross
inherit gettext
+datadir .= "/gdb-${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}"
OpenPOWER on IntegriCloud