[oe-commits] Tom Zanussi : crosstap: handle hyphenated x86_64 target arch

git at git.openembedded.org git at git.openembedded.org
Thu Feb 14 15:19:51 UTC 2013


Module: openembedded-core.git
Branch: danny
Commit: d1d5cc19cb397ea3105578c3267fd86e0e8b7f55
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d1d5cc19cb397ea3105578c3267fd86e0e8b7f55

Author: Tom Zanussi <tom.zanussi at linux.intel.com>
Date:   Tue Feb  5 08:26:36 2013 -0600

crosstap: handle hyphenated x86_64 target arch

systemtap_target_arch() should also translate x86-64 (hyphenated) into
x86_64 for the -a param.  Failing to do that causes systemtap to see
an architecture mismatch and create a cloned session with a bogusly
synthesized build directory path, and fails to compile the probe.

 Fixes [YOCTO #3756]

Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/crosstap |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/crosstap b/scripts/crosstap
index 783bf2f..58317cf 100755
--- a/scripts/crosstap
+++ b/scripts/crosstap
@@ -70,7 +70,7 @@ function systemtap_target_arch() {
         i?86)
             SYSTEMTAP_TARGET_ARCH="i386"
             ;;
-        x86_64*)
+        x86?64*)
             SYSTEMTAP_TARGET_ARCH="x86_64"
             ;;
         arm*)





More information about the Openembedded-commits mailing list