summaryrefslogtreecommitdiffstats
path: root/scripts/crosstap
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-02-05 08:26:36 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-05 15:22:45 +0000
commit97b7e4f46e2116e9cbaa02efa7d37321fd32b368 (patch)
tree2791c5c5a00e06db115c25eab5c2aa063955bde7 /scripts/crosstap
parent898a8094b1dcffc5ee54dbb612477c9bb3b8fd4b (diff)
downloadast2050-yocto-poky-97b7e4f46e2116e9cbaa02efa7d37321fd32b368.zip
ast2050-yocto-poky-97b7e4f46e2116e9cbaa02efa7d37321fd32b368.tar.gz
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] (From OE-Core rev: 98cae0544884cb5700d42409ec4a9584a17dc9a4) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/crosstap')
-rwxr-xr-xscripts/crosstap2
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*)
OpenPOWER on IntegriCloud