[OE-core] [PATCH 4/6] lttng-modules: Exclude arm
Tom Zanussi
tom.zanussi at linux.intel.com
Thu Mar 6 17:09:29 UTC 2014
From: Tom Zanussi <tom.zanussi at intel.com>
lttng-modules and gcc-4.8 don't mix, according to the lttng ML
'current_thread_info() not respecting program order with gcc 4.8.x',
so remove it from arm builds.
Without lttng-modules, lttng-tools etc don't make sense either so
exclude them as well.
Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
---
meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 4 ++++
meta/recipes-kernel/lttng/lttng-modules_2.4.0.bb | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index 4a97c24..8771dbe 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
@@ -52,15 +52,19 @@ SYSTEMTAP_aarch64 = ""
LTTNGUST = "lttng-ust"
LTTNGUST_libc-uclibc = ""
LTTNGUST_aarch64 = ""
+LTTNGUST_arm = ""
LTTNGTOOLS = "lttng-tools"
LTTNGTOOLS_aarch64 = ""
+LTTNGTOOLS_arm = ""
LTTNGMODULES = "lttng-modules"
LTTNGMODULES_aarch64 = ""
+LTTNGMODULES_arm = ""
BABELTRACE = "babeltrace"
BABELTRACE_aarch64 = ""
+BABELTRACE_arm = ""
# valgrind does not work on mips
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.4.0.bb b/meta/recipes-kernel/lttng/lttng-modules_2.4.0.bb
index 0b7d5e8..79d9382 100644
--- a/meta/recipes-kernel/lttng/lttng-modules_2.4.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-modules_2.4.0.bb
@@ -13,6 +13,9 @@ inherit module
SRCREV = "fb2c37799306d16fb590aebee6fad8be431264b7"
PV = "2.4.0"
+# lttng currently blacklists arm with gcc-4.8
+COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips).*-linux'
+
SRC_URI = "git://git.lttng.org/lttng-modules.git;branch=stable-2.4 \
file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch"
@@ -20,6 +23,7 @@ export INSTALL_MOD_DIR="kernel/lttng-modules"
export KERNEL_SRC="${STAGING_KERNEL_DIR}"
+
S = "${WORKDIR}/git"
do_install_append() {
--
1.8.3.1
More information about the Openembedded-core
mailing list