package/sysprof: unconditionally select elfutils

The elfutils package provides libdw, which is required by sysprof.
It is not an optional dependency.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 194a6e0391)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
This commit is contained in:
Adrian Perez de Castro
2025-09-23 01:25:49 +03:00
committed by Titouan Christophe
parent 13cafab9d1
commit d2c6b391e7
2 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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 \