Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/bcc: add missing dependencies to comment
@ 2024-06-09 19:55 Yann E. MORIN
  2024-07-12 14:02 ` Thomas Petazzoni via buildroot
  2024-07-31 16:54 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Yann E. MORIN @ 2024-06-09 19:55 UTC (permalink / raw)
  To: buildroot; +Cc: Jugurtha BELKALEM, Romain Naour, Yann E. MORIN

Since its inception in 146498d13c48 (package/bcc: new package), not all
the dependencies of bcc are mirrored in the comment to be displayed when
those dependencies are not met.

Fix that by adding the missing pieces:
  - wchar,
  - threads
  - dynamic libs,

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/bcc/Config.in | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/package/bcc/Config.in b/package/bcc/Config.in
index b91e0e5ee3..bf46f07d93 100644
--- a/package/bcc/Config.in
+++ b/package/bcc/Config.in
@@ -38,8 +38,13 @@ config BR2_PACKAGE_BCC
 	  https://github.com/iovisor/bcc
 	  http://www.ebpf.io
 
-comment "bcc needs a glibc toolchain, C++, gcc >= 7, host gcc >= 7"
+comment "bcc needs a glibc toolchain, C++, wchar, threads, dynamic libs, gcc >= 7, host gcc >= 7"
 	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP \
-		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_HOST_GCC_AT_LEAST_7
+	depends on !BR2_TOOLCHAIN_USES_GLIBC \
+		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \
+		|| !BR2_INSTALL_LIBSTDCPP \
+		|| !BR2_HOST_GCC_AT_LEAST_7 \
+		|| !BR2_USE_WCHAR \
+		|| !BR2_TOOLCHAIN_HAS_THREADS \
+		|| BR2_STATIC_LIBS
-- 
2.45.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] package/bcc: add missing dependencies to comment
  2024-06-09 19:55 [Buildroot] [PATCH] package/bcc: add missing dependencies to comment Yann E. MORIN
@ 2024-07-12 14:02 ` Thomas Petazzoni via buildroot
  2024-07-31 16:54 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-12 14:02 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Jugurtha BELKALEM, Romain Naour, buildroot

On Sun,  9 Jun 2024 21:55:19 +0200
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> Since its inception in 146498d13c48 (package/bcc: new package), not all
> the dependencies of bcc are mirrored in the comment to be displayed when
> those dependencies are not met.
> 
> Fix that by adding the missing pieces:
>   - wchar,
>   - threads
>   - dynamic libs,
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
> Cc: Romain Naour <romain.naour@gmail.com>
> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  package/bcc/Config.in | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] package/bcc: add missing dependencies to comment
  2024-06-09 19:55 [Buildroot] [PATCH] package/bcc: add missing dependencies to comment Yann E. MORIN
  2024-07-12 14:02 ` Thomas Petazzoni via buildroot
@ 2024-07-31 16:54 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-07-31 16:54 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Jugurtha BELKALEM, Romain Naour, buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Since its inception in 146498d13c48 (package/bcc: new package), not all
 > the dependencies of bcc are mirrored in the comment to be displayed when
 > those dependencies are not met.

 > Fix that by adding the missing pieces:
 >   - wchar,
 >   - threads
 >   - dynamic libs,

 > Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
 > Cc: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
 > Cc: Romain Naour <romain.naour@gmail.com>
 > Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Committed to 2024.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-31 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-09 19:55 [Buildroot] [PATCH] package/bcc: add missing dependencies to comment Yann E. MORIN
2024-07-12 14:02 ` Thomas Petazzoni via buildroot
2024-07-31 16:54 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox