From patchwork Mon Dec 17 11:32:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 206838 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 0D1CA2C0092 for ; Mon, 17 Dec 2012 22:32:24 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D22A610180A; Mon, 17 Dec 2012 11:32:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TzKl7uj1vnI1; Mon, 17 Dec 2012 11:32:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 319B4101A9A; Mon, 17 Dec 2012 11:32:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 47FBD8F75B for ; Mon, 17 Dec 2012 11:32:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C05918B723 for ; Mon, 17 Dec 2012 11:32:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ry+Mjtj5Aito for ; Mon, 17 Dec 2012 11:32:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.32.191]) by whitealder.osuosl.org (Postfix) with ESMTP id 7F8E5898F1 for ; Mon, 17 Dec 2012 11:32:11 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 00E9A175; Mon, 17 Dec 2012 12:32:10 +0100 (CET) Received: from localhost (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id 5A400D9 for ; Mon, 17 Dec 2012 12:32:03 +0100 (CET) From: Maxime Ripard To: buildroot@busybox.net Date: Mon, 17 Dec 2012 12:32:02 +0100 Message-Id: <1355743922-26299-1-git-send-email-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] [PATCH] package/liburcu: Requires threads support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Fixes http://autobuild.buildroot.org/results/eeb6a81588a12e5b572a4e5d27e001b3ae5eac49/build-end.log Signed-off-by: Maxime Ripard --- package/liburcu/Config.in | 5 +++++ package/lttng-libust/Config.in | 6 ++++-- package/lttng-tools/Config.in | 7 ++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in index 69878b1..f21541f 100644 --- a/package/liburcu/Config.in +++ b/package/liburcu/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_LIBURCU bool "liburcu" depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_TOOLCHAIN_HAS_THREADS help Userspace implementation of the Read-Copy-Update (RCU) synchronization mechanism. This library is mainly used by @@ -8,3 +9,7 @@ config BR2_PACKAGE_LIBURCU purposes as well. http://lttng.org/urcu + +comment "liburcu needs threads support in toolchain" + depends on !BR2_TOOLCHAIN_HAS_THREADS + diff --git a/package/lttng-libust/Config.in b/package/lttng-libust/Config.in index ab12963..45e0ede 100644 --- a/package/lttng-libust/Config.in +++ b/package/lttng-libust/Config.in @@ -6,8 +6,9 @@ config BR2_PACKAGE_LTTNG_LIBUST # util-linux needs wchar and largefile depends on BR2_USE_WCHAR depends on BR2_LARGEFILE - # liburcu only works on some architectures + # liburcu only works on some architectures and requires threads support depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_TOOLCHAIN_HAS_THREADS help Userspace tracing library for the Lttng tracing infrastructure. It allows userspace programs to create @@ -16,5 +17,6 @@ config BR2_PACKAGE_LTTNG_LIBUST http://lttng.org -comment "lttng-libust needs WCHAR and LARGEFILE support" +comment "lttng-libust needs WCHAR, LARGEFILE and threads support" depends on !(BR2_USE_WCHAR || BR2_LARGEFILE) + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/lttng-tools/Config.in b/package/lttng-tools/Config.in index b854757..3d95eeb 100644 --- a/package/lttng-tools/Config.in +++ b/package/lttng-tools/Config.in @@ -3,8 +3,9 @@ config BR2_PACKAGE_LTTNG_TOOLS depends on BR2_PACKAGE_LTTNG_MODULES select BR2_PACKAGE_LIBURCU select BR2_PACKAGE_POPT - # liburcu only works on some architectures + # liburcu only works on some architectures and requires thread support depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_TOOLCHAIN_HAS_THREADS help Userspace utilities for the LTTng 2.0 tracing infrastructure. @@ -22,3 +23,7 @@ config BR2_PACKAGE_LTTNG_TOOLS lttng-libust. http://lttng.org + +comment "lttng-tools needs threads support" + depends on !BR2_TOOLCHAIN_HAS_THREADS +