]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: run longjmp() test only on supported architectures
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 3 Nov 2024 17:54:00 +0000 (18:54 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 14:16:47 +0000 (08:16 -0600)
commite6b937f35e317962aab3d02cbace9ee363b27a76
tree0352cb2a2a7635c1faabd8bb0b89d59c301b9f29
parent1cfafff3192a81055fd7e833313a85d5feede1e3
test: run longjmp() test only on supported architectures

We have only implemented longjmp() on the EFI architectures.

Define a symbol CONFIG_HAVE_SETJMP and have it selected by the relevant
architectures.

Use CONFIG_HAVE_SETJMP to decide if the longjmp test shall be built.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/Kconfig
test/lib/Makefile