diff options
| author | Patrick Havelange <patrick.havelange@essensium.com> | 2019-01-29 10:39:16 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2019-02-04 11:00:01 +0100 |
| commit | 001f9a79885c1bbd82d6462d4808fd5bc9c4d168 (patch) | |
| tree | 6572cb88b4fa9386fec8c2082c2622efa763cb5d /package/libsigsegv | |
| parent | 2693362a04912462c0b8c02348607fb110f667f5 (diff) | |
| download | buildroot-001f9a79885c1bbd82d6462d4808fd5bc9c4d168.tar.gz buildroot-001f9a79885c1bbd82d6462d4808fd5bc9c4d168.zip | |
Introduce the variable BR2_TOOLCHAIN_HAS_UCONTEXT
It is set when the platform exposes the struct ucontext_t.
This avoids duplication of logic inside each package requiring
the use of that type.
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libsigsegv')
| -rw-r--r-- | package/libsigsegv/Config.in | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/package/libsigsegv/Config.in b/package/libsigsegv/Config.in index f258dc9e8a..8e89ff5aa4 100644 --- a/package/libsigsegv/Config.in +++ b/package/libsigsegv/Config.in @@ -1,15 +1,6 @@ config BR2_PACKAGE_LIBSIGSEGV_ARCH_SUPPORTS bool - # with glibc/musl, ucontext is available for all supported - # architectures - default y if BR2_TOOLCHAIN_USES_GLIBC - default y if BR2_TOOLCHAIN_USES_MUSL - # with uclibc, ucontext is only available for a subset of the - # supported architectures - default y if BR2_TOOLCHAIN_USES_UCLIBC && \ - (BR2_ARM_CPU_HAS_ARM || BR2_i386 || \ - BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \ - BR2_sparc || BR2_x86_64) + default y if BR2_TOOLCHAIN_HAS_UCONTEXT config BR2_PACKAGE_LIBSIGSEGV bool "libsigsegv" |

