From patchwork Mon Oct 15 10:31:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 191509 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 750242C0082 for ; Mon, 15 Oct 2012 21:31:40 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0797610154E; Mon, 15 Oct 2012 10:31:35 +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 T9gjLIggZFSm; Mon, 15 Oct 2012 10:31:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BCE06FFFBB; Mon, 15 Oct 2012 10:31:31 +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 9F7558F74A for ; Mon, 15 Oct 2012 10:31:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A12028B0E3 for ; Mon, 15 Oct 2012 10:31:34 +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 DHg-e1e7d9Jc for ; Mon, 15 Oct 2012 10:31:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 33B2A8B21F for ; Mon, 15 Oct 2012 10:31:12 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id i5so4056319lah.16 for ; Mon, 15 Oct 2012 03:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/WqEjKGfAPoydy8wbyY9FxW9Ltc7c/SS43S+vPf7HjA=; b=mn7RaCQNDc1hrDA1BPARPePWG7q74WW6yPbJcYyReszsQMp5/lq2JDqDHWDNPgXmV3 P5XTHCVu1zgX4oDuCMNpAuZAFQYbQAWX4hNhAZYKS2C32Cw66A+wTEAtH+46PsbFgNBF hbRXX8aaXqcvt4Nstkaz9mbRnbbnDF4hyUTTZFJVw5QfiQQglNgZIZM4y8GTsAu1cKDa yzeI30EmTrtnGz/dejF5lk4UIvaAGQkyGByNNlQ/J7+LU7QkbvpBGbclQnCAvRY+1SJn G74gHiD1Yl9t2eR2tpujKcvRgdFWwxbDNMgiXcK8Wy4IrM8aPT7mLluXgqKKjNPLa2gn bVcg== MIME-Version: 1.0 Received: by 10.112.101.41 with SMTP id fd9mr4111109lbb.132.1350297070888; Mon, 15 Oct 2012 03:31:10 -0700 (PDT) Received: by 10.112.65.37 with HTTP; Mon, 15 Oct 2012 03:31:10 -0700 (PDT) Date: Mon, 15 Oct 2012 11:31:10 +0100 Message-ID: From: Will Newton To: buildroot@busybox.net Subject: [Buildroot] [PATCH] package/lttng-tools: Improve dependencies for lttng-tools. 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From 7702c9f7794aea86fc750ebac6c487ca73703897 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Mon, 15 Oct 2012 11:27:01 +0100 Subject: [PATCH] package/lttng-tools: Improve dependencies for lttng-tools. lttng-tools currently depends on the lttng-modules package which in turn depends on the buildroot linux kernel. If the user is building their kernel outside of buildroot then lttng-tools are not selectable. Remove that dependency and add a note to the Kconfig text to notify the user of the requirement. lttng-tools also require largefile support be enabled in the toolchain, so add a dependency for that. Signed-off-by: Will Newton --- package/lttng-tools/Config.in | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package/lttng-tools/Config.in b/package/lttng-tools/Config.in index b854757..21056b5 100644 --- a/package/lttng-tools/Config.in +++ b/package/lttng-tools/Config.in @@ -1,13 +1,14 @@ config BR2_PACKAGE_LTTNG_TOOLS bool "lttng-tools" - depends on BR2_PACKAGE_LTTNG_MODULES select BR2_PACKAGE_LIBURCU select BR2_PACKAGE_POPT # liburcu only works on some architectures depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_LARGEFILE help Userspace utilities for the LTTng 2.0 tracing - infrastructure. + infrastructure. The LTTng kernel modules are required on the + target to use these tools. Those utilities are required on the target system to start and stop tracing sessions. Analysis of the trace can be done @@ -22,3 +23,6 @@ config BR2_PACKAGE_LTTNG_TOOLS lttng-libust. http://lttng.org + +comment "lttng-tools needs LARGEFILE support" + depends on !BR2_LARGEFILE