Patchwork systemtap: remove non-core COMPATIBLE_MACHINES

login
register
mail settings
Submitter Tom Zanussi
Date June 14, 2011, 10:51 p.m.
Message ID <1308091892.10825.45.camel@elmorro>
Download mbox | patch
Permalink /patch/5953/
State New, archived
Headers show

Comments

Tom Zanussi - June 14, 2011, 10:51 p.m.
Systemtap only supports x86, x86-64 and powerpc at this point.

v2: updated to reflect comments from Koen Kooi and Phil Blundell to use
    COMPATIBLE_HOST instead.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
 meta/recipes-kernel/systemtap/systemtap_git.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Richard Purdie - June 16, 2011, 9:14 p.m.
On Tue, 2011-06-14 at 17:51 -0500, Tom Zanussi wrote:
> Systemtap only supports x86, x86-64 and powerpc at this point.
> 
> v2: updated to reflect comments from Koen Kooi and Phil Blundell to use
>     COMPATIBLE_HOST instead.
> 
> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
> ---
>  meta/recipes-kernel/systemtap/systemtap_git.bb |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 8ac4c14..e3e9264 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -5,7 +5,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 DEPENDS = "elfutils"
 
 SRCREV = "4ab3a1863bf4f472acae7a809bf2b38d91658aa8"
-PR = "r1"
+PR = "r2"
 PV = "1.4+git${SRCPV}"
 
 SRC_URI = "git://sources.redhat.com/git/systemtap.git;protocol=git \
@@ -23,7 +23,8 @@  EXTRA_OECONF = "--prefix=${D} --with-libelf=${STAGING_DIR_TARGET} --without-rpm
 SRC_URI[md5sum]    = "cb202866ed704c44a876d041f788bdee"
 SRC_URI[sha256sum] = "8ffe35caec0d937bd23fd78a3a8d94b58907cc0de0330b35e38f9f764815c459"
 
-COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuppc|emenlow|crownbay|atom-pc|n450)"
+# systemtap doesn't work on arm and doesn't support mips
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|powerpc.*)-linux'
 
 S = "${WORKDIR}/git"