From patchwork Wed Feb 6 15:40:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1,danny] crosstap: handle hyphenated x86_64 target arch Date: Wed, 06 Feb 2013 15:40:58 -0000 From: tom.zanussi@linux.intel.com X-Patchwork-Id: 44215 Message-Id: To: openembedded-core@lists.openembedded.org, ross.burton@intel.com Cc: Tom Zanussi From: Tom Zanussi 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 Signed-off-by: Richard Purdie --- scripts/crosstap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*)