[oe-commits] [openembedded-core] 04/09: gdb-cross: avoid tune specific paths

git at git.openembedded.org git at git.openembedded.org
Wed Apr 12 14:13:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit f346473a4868563db7fb63665e808c3fe25a8b58
Author: Patrick Ohly <patrick.ohly at intel.com>
AuthorDate: Tue Apr 11 20:38:37 2017 +0200

    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 <patrick.ohly at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/gdb/gdb-cross.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index a34223e..d92f31f 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}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list