mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/elfutils: new option to enable building libdebuginfod for target
This does not make debug info available, but allows building programs that link against libdebuginfod. Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
20f31f90ad
commit
dc115ca708
@@ -33,4 +33,14 @@ comment "elfutils programs needs a glibc toolchain w/ C++"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC \
|
||||
|| !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_ELFUTILS_LIBDEBUGINFOD
|
||||
bool "Build libdebuginfod"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
|
||||
select BR2_PACKAGE_JSON_C
|
||||
select BR2_PACKAGE_LIBCURL
|
||||
help
|
||||
This option enables building libdebuginfod. Note that this
|
||||
only builds the library, it does not provide any service or
|
||||
data to download debug info.
|
||||
|
||||
endif
|
||||
|
||||
@@ -49,8 +49,13 @@ ifeq ($(BR2_microblaze),y)
|
||||
ELFUTILS_CONF_OPTS += --disable-symbol-versioning
|
||||
endif
|
||||
|
||||
# disable for now, needs "distro" support
|
||||
ELFUTILS_CONF_OPTS += --disable-libdebuginfod --disable-debuginfod
|
||||
ifeq ($(BR2_PACKAGE_ELFUTILS_LIBDEBUGINFOD),y)
|
||||
ELFUTILS_CONF_OPTS += --enable-libdebuginfod
|
||||
ELFUTILS_DEPENDENCIES += json-c libcurl
|
||||
else
|
||||
ELFUTILS_CONF_OPTS += --disable-libdebuginfod
|
||||
endif
|
||||
ELFUTILS_CONF_OPTS += --disable-debuginfod
|
||||
HOST_ELFUTILS_CONF_OPTS += --disable-libdebuginfod --disable-debuginfod
|
||||
|
||||
ELFUTILS_CONF_ENV += \
|
||||
|
||||
Reference in New Issue
Block a user