package/elfutils: needs threads

threads is a mandatory dependency since version 0.178 and
https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=e9d4067a15eb100c0598a9895567aac6e9ed6a10

Fixes:
 - http://autobuild.buildroot.org/results/1c818a50530816ba80864efaacb724cb4bdeebf9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine
2020-10-03 21:35:47 +02:00
committed by Peter Korsgaard
parent 049e4fc9d8
commit 7154fb4804
5 changed files with 13 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ config BR2_PACKAGE_KEXEC_LITE
depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
depends on !BR2_STATIC_LIBS # dtc, elfutils
depends on BR2_USE_WCHAR # elfutils
depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
select BR2_PACKAGE_ELFUTILS
select BR2_PACKAGE_DTC
@@ -17,7 +18,8 @@ config BR2_PACKAGE_KEXEC_LITE
https://github.com/antonblanchard/kexec-lite
comment "kexec-lite needs a uClibc or glibc toolchain w/ wchar, dynamic library"
comment "kexec-lite needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
depends on BR2_powerpc || BR2_powerpc64
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_HAS_THREADS \
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)