From: Patrick Ohly Date: Tue, 11 Apr 2017 18:38:37 +0000 (+0200) Subject: gdb-cross: avoid tune specific paths X-Git-Tag: yocto-2.3~116 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f346473a4868563db7fb63665e808c3fe25a8b58;p=openembedded-core.git gdb-cross: avoid tune specific paths gdb-cross used to be specific to the tune flags, but isn't anymore. Therefore it is enough to use TARGET_SYS instead of TUNE_PKGARCH to create a unique path. Fixes a sstate signature difference that was found via yocto-compat-layer.py's test_machine_signatures check. In practice it probably showed up as unnecessarily rebuilding gdb-cross when switching between machines like intel-corei7-64 and qemux86-64. Signed-off-by: Patrick Ohly Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc index a34223e530..d92f31fb01 100644 --- a/meta/recipes-devtools/gdb/gdb-cross.inc +++ b/meta/recipes-devtools/gdb/gdb-cross.inc @@ -24,4 +24,4 @@ BPN = "gdb" inherit cross inherit gettext -datadir .= "/gdb-${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" +datadir .= "/gdb-${TARGET_SYS}${TARGET_VENDOR}-${TARGET_OS}"