diff mbox

package/lttng-tools: Improve dependencies for lttng-tools.

Message ID CAFbHwiQRgb_f14t+V+y=HFt9Xr9D7xLitkYkHo1h_EfLT_VYOA@mail.gmail.com
State Superseded
Headers show

Commit Message

Will Newton Oct. 15, 2012, 10:31 a.m. UTC
From 7702c9f7794aea86fc750ebac6c487ca73703897 Mon Sep 17 00:00:00 2001
From: Will Newton <will.newton@imgtec.com>
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 <will.newton@imgtec.com>
---
 package/lttng-tools/Config.in |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

Comments

Will Newton Oct. 23, 2012, 2:14 p.m. UTC | #1
Ping?

On Mon, Oct 15, 2012 at 11:31 AM, Will Newton <will.newton@gmail.com> wrote:
> From 7702c9f7794aea86fc750ebac6c487ca73703897 Mon Sep 17 00:00:00 2001
> From: Will Newton <will.newton@imgtec.com>
> 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 <will.newton@imgtec.com>
> ---
>  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
> --
> 1.7.1
Thomas Petazzoni May 26, 2013, 1:02 p.m. UTC | #2
Dear Will Newton,

On Tue, 23 Oct 2012 15:14:21 +0100, Will Newton wrote:
> Ping?

I have marked your patch as Superseded in the patch tracker, because
the two issues your patch were fixing have been fixed by:

e5726eb4986f33a1c6af276973efeaa35980097c lttng-tools: needs largefile support
e5ef6f7f71c0773af1f35b8a4e78669a8c3c8bf0 Unhide lttng-tools and lttng-modules

Best regards,

Thomas
diff mbox

Patch

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