buildroot/package/libsigsegv/Config.in
Patrick Havelange 001f9a7988 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>
2019-02-04 11:00:01 +01:00

12 lines
290 B
Plaintext

config BR2_PACKAGE_LIBSIGSEGV_ARCH_SUPPORTS
bool
default y if BR2_TOOLCHAIN_HAS_UCONTEXT
config BR2_PACKAGE_LIBSIGSEGV
bool "libsigsegv"
depends on BR2_PACKAGE_LIBSIGSEGV_ARCH_SUPPORTS
help
Library for handling page faults in user mode.
http://www.gnu.org/software/libsigsegv/