[Buildroot] [git commit branch/2025.08.x] package/sysprof: unconditionally select elfutils
Titouan Christophe
titouan.christophe at mind.be
Tue Sep 30 09:30:12 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=d2c6b391e79782349c50d61ab3e2dbe968ed3f00
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.08.x
The elfutils package provides libdw, which is required by sysprof.
It is not an optional dependency.
Signed-off-by: Adrian Perez de Castro <aperez at igalia.com>
Signed-off-by: Julien Olivain <ju.o at free.fr>
(cherry picked from commit 194a6e039154488c88316dafa91bc72dd300cbdc)
Signed-off-by: Titouan Christophe <titouan.christophe at mind.be>
---
package/sysprof/Config.in | 7 ++++---
package/sysprof/sysprof.mk | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/package/sysprof/Config.in b/package/sysprof/Config.in
index a4f53a1179..e89a0e539e 100644
--- a/package/sysprof/Config.in
+++ b/package/sysprof/Config.in
@@ -1,14 +1,15 @@
config BR2_PACKAGE_SYSPROF
bool "sysprof"
- depends on BR2_USE_WCHAR # glib2, libdex, json-glib
- depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, libdex, json-glib, polkit
+ depends on BR2_USE_WCHAR # glib2, libdex, json-glib, elfutils
+ depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, libdex, json-glib, polkit, elfutils
depends on BR2_USE_MMU # glib2, libdex, json-glib
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libunwind, polkit
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
- depends on !BR2_STATIC_LIBS # libdex, libunwind, polkit
+ depends on !BR2_STATIC_LIBS # libdex, libunwind, polkit, elfutils
depends on !BR2_OPTIMIZE_FAST # polkit
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
+ select BR2_PACKAGE_ELFUTILS
select BR2_PACKAGE_JSON_GLIB
select BR2_PACKAGE_LIBDEX
select BR2_PACKAGE_LIBGLIB2
diff --git a/package/sysprof/sysprof.mk b/package/sysprof/sysprof.mk
index 2670588ebb..f64f6d7120 100644
--- a/package/sysprof/sysprof.mk
+++ b/package/sysprof/sysprof.mk
@@ -10,7 +10,7 @@ SYSPROF_SOURCE = sysprof-$(SYSPROF_VERSION).tar.xz
SYSPROF_SITE = https://download.gnome.org/sources/sysprof/$(SYSPROF_VERSION_MAJOR)
SYSPROF_LICENSE = GPL-3.0+
SYSPROF_LICENSE_FILES = COPYING
-SYSPROF_DEPENDENCIES = libglib2 libdex libunwind json-glib polkit
+SYSPROF_DEPENDENCIES = elfutils libglib2 libdex libunwind json-glib polkit
SYSPROF_CONF_OPTS = \
-Ddebuginfod=disabled \
-Ddevelopment=false \
More information about the buildroot
mailing list