package/libtraceevent: needs dynamic library

Fix the following build failure raised since the addition of the package
in commit 1474f1b34b:

../src/event-plugin.c:10:10: fatal error: dlfcn.h: No such file or directory
   10 | #include <dlfcn.h>
      |          ^~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/7802d1ad00293147edda39683f6d3f614dd48263

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: only list first-level inherited deps]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine
2024-01-08 21:43:52 +01:00
committed by Yann E. MORIN
parent af755c0db3
commit 30cc84d899
3 changed files with 12 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBTRACEEVENT config BR2_PACKAGE_LIBTRACEEVENT
bool "libtraceevent" bool "libtraceevent"
depends on !BR2_STATIC_LIBS # dlfcn.h
help help
libtraceevent is a library that interfaces with the ftrace libtraceevent is a library that interfaces with the ftrace
subsystem in the linux kernel. subsystem in the linux kernel.
@@ -9,3 +10,6 @@ config BR2_PACKAGE_LIBTRACEEVENT
rtla. rtla.
https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/ https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
comment "libtraceevent needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View File

@@ -1,8 +1,12 @@
config BR2_PACKAGE_LIBTRACEFS config BR2_PACKAGE_LIBTRACEFS
bool "libtracefs" bool "libtracefs"
depends on !BR2_STATIC_LIBS # libtraceevent
select BR2_PACKAGE_LIBTRACEEVENT select BR2_PACKAGE_LIBTRACEEVENT
help help
libtracefs is used to easily interface with the ftrace libtracefs is used to easily interface with the ftrace
interface through the tracefs virtual filesystem. interface through the tracefs virtual filesystem.
https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/ https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
comment "libtracefs needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View File

@@ -104,6 +104,7 @@ endif
config BR2_PACKAGE_LINUX_TOOLS_RTLA config BR2_PACKAGE_LINUX_TOOLS_RTLA
bool "rtla" bool "rtla"
depends on !BR2_STATIC_LIBS # libtracefs
select BR2_PACKAGE_LINUX_TOOLS select BR2_PACKAGE_LINUX_TOOLS
select BR2_PACKAGE_LIBTRACEFS select BR2_PACKAGE_LIBTRACEFS
help help
@@ -123,6 +124,9 @@ config BR2_PACKAGE_LINUX_TOOLS_RTLA
not available in Buildroot, so only rtla in kernels 5.19 not available in Buildroot, so only rtla in kernels 5.19
onwards is actually supported in Buildroot. onwards is actually supported in Buildroot.
comment "rtla needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS
bool"selftests" bool"selftests"
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash