[Buildroot] [PATCH 1/2] package/sysprof: disable debuginfod support
Adrian Perez de Castro
aperez at igalia.com
Mon Sep 22 22:25:48 UTC 2025
This fixes building sysprof when elfutils is also selected (which is
a common setup). The debuginfod client support relies in elfutils
being built with the libdebuginfod option enabled; but Buildroot
unconditionally disables it in the elfutils package.
Signed-off-by: Adrian Perez de Castro <aperez at igalia.com>
---
package/sysprof/sysprof.mk | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/package/sysprof/sysprof.mk b/package/sysprof/sysprof.mk
index abbddfb6e1..2670588ebb 100644
--- a/package/sysprof/sysprof.mk
+++ b/package/sysprof/sysprof.mk
@@ -12,6 +12,7 @@ SYSPROF_LICENSE = GPL-3.0+
SYSPROF_LICENSE_FILES = COPYING
SYSPROF_DEPENDENCIES = libglib2 libdex libunwind json-glib polkit
SYSPROF_CONF_OPTS = \
+ -Ddebuginfod=disabled \
-Ddevelopment=false \
-Dexamples=false \
-Dgtk=false \
@@ -22,13 +23,6 @@ SYSPROF_CONF_OPTS = \
-Dtools=true \
-Dsystemdunitdir=/usr/lib/systemd/system
-ifeq ($(BR2_PACKAGE_ELFUTILS),y)
-SYSPROF_DEPENDENCIES += elfutils
-SYSPROF_CONF_OPTS += -Ddebuginfod=enabled
-else
-SYSPROF_CONF_OPTS += -Ddebuginfod=disabled
-endif
-
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
SYSPROF_DEPENDENCIES += systemd
endif
--
2.51.0
More information about the buildroot
mailing list