summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-02-05 14:26:36 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-14 15:19:54 (GMT)
commite1ec61dd916af2d64a9213a6aaf59ccd18021962 (patch)
treeea1796eed9b7ca5d377b0ed704d04e14dd67aa32
parentc0b37584819790a9c72b5dd5ad2533e499fa1d17 (diff)
downloadpoky-e1ec61dd916af2d64a9213a6aaf59ccd18021962.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: d1d5cc19cb397ea3105578c3267fd86e0e8b7f55) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
70 i?86) 70 i?86)
71 SYSTEMTAP_TARGET_ARCH="i386" 71 SYSTEMTAP_TARGET_ARCH="i386"
72 ;; 72 ;;
73 x86_64*) 73 x86?64*)
74 SYSTEMTAP_TARGET_ARCH="x86_64" 74 SYSTEMTAP_TARGET_ARCH="x86_64"
75 ;; 75 ;;
76 arm*) 76 arm*)