From: Tom Zanussi Date: Tue, 5 Feb 2013 14:26:36 +0000 (-0600) Subject: crosstap: handle hyphenated x86_64 target arch X-Git-Tag: 2015-4~7709 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=98cae0544884cb5700d42409ec4a9584a17dc9a4;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/scripts/crosstap b/scripts/crosstap index 783bf2ffbe..58317cf91c 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*)