Introduce the variable BR2_TOOLCHAIN_HAS_UCONTEXT
authorPatrick Havelange <patrick.havelange@essensium.com>
Tue, 29 Jan 2019 09:39:16 +0000 (10:39 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 4 Feb 2019 10:00:01 +0000 (11:00 +0100)
commit001f9a79885c1bbd82d6462d4808fd5bc9c4d168
tree6572cb88b4fa9386fec8c2082c2622efa763cb5d
parent2693362a04912462c0b8c02348607fb110f667f5
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>
package/libsigsegv/Config.in
toolchain/Config.in