Skip to contentSkip to conversation

liburcu upgrade and removing COMPATIBLE_HOST check for lttng

PATCH New [email protected] 1 participant 6 messages Mar 18, 2013

lore
Share & tools
lore
#0 lore raw

cover liburcu upgrade and removing COMPATIBLE_HOST check for lttng

From: "Maxin B. John" <[email protected]>

Latest version of liburcu supports MIPS architecture with this commit:
http://git.lttng.org/?p=userspace-rcu.git;a=commit;h=e1259cb17954e4e03954ba7376d3ed61649116cd

We can remove the COMPATIBLE_HOST checks present in babeltrace, lttng-ust, lttng-tools and lttng-modules recipes after we upgrade to liburcu-0.7.6

Maxin B. John (5):
liburcu: upgrade to 0.7.6
babeltrace: remove the COMPATIBLE_HOST check
lttng-ust: remove the COMPATIBLE_HOST check
lttng-tools: remove the COMPATIBLE_HOST check
lttng-modules: remove the COMPATIBLE_HOST check

 meta/recipes-kernel/lttng/babeltrace_1.0.0.bb    |    5 ----
 meta/recipes-kernel/lttng/lttng-modules_2.1.1.bb |    5 ----
 meta/recipes-kernel/lttng/lttng-tools_2.1.0.bb   |    5 ----
 meta/recipes-kernel/lttng/lttng-ust_2.1.1.bb     |    5 ----
 meta/recipes-support/liburcu/liburcu_0.7.4.bb    |   23 ----------------------
 meta/recipes-support/liburcu/liburcu_0.7.6.bb    |   19 ++++++++++++++++++
 6 files changed, 19 insertions(+), 43 deletions(-)
 delete mode 100644 meta/recipes-support/liburcu/liburcu_0.7.4.bb
 create mode 100644 meta/recipes-support/liburcu/liburcu_0.7.6.bb
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/5 liburcu: upgrade to 0.7.6

From: "Maxin B. John" <[email protected]>

liburcu-0.7.6 features support to MIPS.

Ralf Baechle added MIPS support to liburcu on commit id:
e1259cb17954e4e03954ba7376d3ed61649116cd

Now, we can remove the COMPATIBLE_HOST check for MIPS.

---
 meta/recipes-support/liburcu/liburcu_0.7.4.bb |   23 -----------------------
 meta/recipes-support/liburcu/liburcu_0.7.6.bb |   19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 23 deletions(-)
 delete mode 100644 meta/recipes-support/liburcu/liburcu_0.7.4.bb
 create mode 100644 meta/recipes-support/liburcu/liburcu_0.7.6.bb
meta/recipes-support/liburcu/liburcu_0.7.4.bb deleted +0 -23
deleted file mode 100644
index a6a5bfc..0000000
@@ -1,23 +0,0 @@
-DESCRIPTION = "The userspace read-copy update library by Mathieu Desnoyers"
-HOMEPAGE = "http://lttng.org/urcu"
-BUGTRACKER = "http://lttng.org/project/issues"
-
-LICENSE = "LGPLv2.1+ & MIT-style"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=95dfea59eeaa41a4057faa07a58f5f89 \
-                    file://urcu.h;beginline=4;endline=32;md5=4de0d68d3a997643715036d2209ae1d9 \
-                    file://urcu/uatomic/x86.h;beginline=4;endline=21;md5=220552f72c55b102f2ee35929734ef42"
-
-PR = "r0"
-
-SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2"
-
-SRC_URI[md5sum] = "7defbc16443e680ce4aad90cf49537a9"
-SRC_URI[sha256sum] = "2294ec969308fc9115b43eb7ed5392a63a7e671f44316446a1149a39db54d51f"
-
-S = "${WORKDIR}/userspace-rcu-${PV}"
-CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"
-inherit autotools
-
-# liburcu, which is only used by lttng-ust, may not build on other
-# platforms, like MIPS.
-COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*'
meta/recipes-support/liburcu/liburcu_0.7.6.bb new file +19 -0
new file mode 100644
index 0000000..1b57d10
@@ -0,0 +1,19 @@
+DESCRIPTION = "The userspace read-copy update library by Mathieu Desnoyers"
+HOMEPAGE = "http://lttng.org/urcu"
+BUGTRACKER = "http://lttng.org/project/issues"
+
+LICENSE = "LGPLv2.1+ & MIT-style"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0f060c30a27922ce9c0d557a639b4fa3 \
+                    file://urcu.h;beginline=4;endline=32;md5=4de0d68d3a997643715036d2209ae1d9 \
+                    file://urcu/uatomic/x86.h;beginline=4;endline=21;md5=220552f72c55b102f2ee35929734ef42"
+
+PR = "r0"
+
+SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "4c1ecb4bdcd43e36dfdffdd297023c8b"
+SRC_URI[sha256sum] = "71f2c0b75f3473e4d7aa6ac5111ca4d9cccccd5d131e87b53a07d35bd2c5900a"
+
+S = "${WORKDIR}/userspace-rcu-${PV}"
+CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"
+inherit autotools
Signature · 1 line
1.7.5.4
#2 lore raw

PATCH 2/5 babeltrace: remove the COMPATIBLE_HOST check

In reply to [email protected]

From: "Maxin B. John" <[email protected]>

liburcu-0.7.6 supports MIPS. So, we can remove the COMPATIBLE_HOST check intended for MIPS.

---
 meta/recipes-kernel/lttng/babeltrace_1.0.0.bb |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
meta/recipes-kernel/lttng/babeltrace_1.0.0.bb +0 -5
index 4223c54..82f6a98 100644
@@ -21,8 +21,3 @@ S = "${WORKDIR}/git"
 do_configure_prepend () {
 	${S}/bootstrap
 }
-
-# Due to liburcu not building for MIPS currently this recipe needs to
-# be limited also.
-# So here let us first suppport x86/arm/powerpc platforms now.
-COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*'
Signature · 1 line
1.7.5.4
#3 lore raw

PATCH 3/5 lttng-ust: remove the COMPATIBLE_HOST check

In reply to [email protected]

From: "Maxin B. John" <[email protected]>

liburcu-0.7.6 supports MIPS. So, we can remove the COMPATIBLE_HOST check intended for MIPS.

---
 meta/recipes-kernel/lttng/lttng-ust_2.1.1.bb |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
meta/recipes-kernel/lttng/lttng-ust_2.1.1.bb +0 -5
index 2117981..eb683dd 100644
@@ -31,8 +31,3 @@ S = "${WORKDIR}/git"
 do_configure_prepend () {
 	${S}/bootstrap
 }
-
-# Due to liburcu not building for MIPS currently this recipe needs to
-# be limited also.
-# So here let us first suppport x86/arm/powerpc platforms now.
-COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*'
Signature · 1 line
1.7.5.4
#4 lore raw

PATCH 4/5 lttng-tools: remove the COMPATIBLE_HOST check

In reply to [email protected]

From: "Maxin B. John" <[email protected]>

liburcu-0.7.6 supports MIPS. So, we can remove the COMPATIBLE_HOST check intended for MIPS.

---
 meta/recipes-kernel/lttng/lttng-tools_2.1.0.bb |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
meta/recipes-kernel/lttng/lttng-tools_2.1.0.bb +0 -5
index 16e1ccc..e7ce7fc 100644
@@ -30,8 +30,3 @@ FILES_${PN}-dbg += "${libdir}/lttng/libexec/.debug"
 # the libexec insane test so skip it.
 INSANE_SKIP_${PN} = "libexec"
 INSANE_SKIP_${PN}-dbg = "libexec"
-
-# Due to liburcu not building for MIPS currently this recipe needs to
-# be limited also.
-# So here let us first suppport x86/arm/powerpc platforms now.
-COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*'
Signature · 1 line
1.7.5.4
#5 lore raw

PATCH 5/5 lttng-modules: remove the COMPATIBLE_HOST check

In reply to [email protected]

From: "Maxin B. John" <[email protected]>

liburcu-0.7.6 supports MIPS. So, we can remove the COMPATIBLE_HOST check intended for MIPS.

---
 meta/recipes-kernel/lttng/lttng-modules_2.1.1.bb |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
meta/recipes-kernel/lttng/lttng-modules_2.1.1.bb +0 -5
index 1be0fc1..700c4c5 100644
@@ -22,8 +22,3 @@ export KERNEL_SRC="${STAGING_KERNEL_DIR}"
 
 
 S = "${WORKDIR}/git"
-
-# Due to liburcu not building for MIPS currently this recipe needs to
-# be limited also.
-# So here let us first suppport x86/arm/powerpc platforms now.
-COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*'
Signature · 1 line
1.7.5.4