mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00

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>
29 lines
860 B
Makefile
29 lines
860 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2018
|
|
# Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
|
|
ifeq ($(CONFIG_XPL_BUILD),)
|
|
obj-y += cmd_ut_lib.o
|
|
obj-y += abuf.o
|
|
obj-y += alist.o
|
|
obj-$(CONFIG_EFI_LOADER) += efi_device_path.o
|
|
obj-$(CONFIG_EFI_SECURE_BOOT) += efi_image_region.o
|
|
obj-y += hexdump.o
|
|
obj-$(CONFIG_SANDBOX) += kconfig.o
|
|
obj-y += lmb.o
|
|
obj-$(CONFIG_HAVE_SETJMP) += longjmp.o
|
|
obj-$(CONFIG_CONSOLE_RECORD) += test_print.o
|
|
obj-$(CONFIG_SSCANF) += sscanf.o
|
|
obj-y += string.o
|
|
obj-y += strlcat.o
|
|
obj-$(CONFIG_ERRNO_STR) += test_errno_str.o
|
|
obj-$(CONFIG_UT_LIB_ASN1) += asn1.o
|
|
obj-$(CONFIG_UT_LIB_RSA) += rsa.o
|
|
obj-$(CONFIG_AES) += test_aes.o
|
|
obj-$(CONFIG_GETOPT) += getopt.o
|
|
obj-$(CONFIG_CRC8) += test_crc8.o
|
|
obj-$(CONFIG_UT_LIB_CRYPT) += test_crypt.o
|
|
obj-$(CONFIG_LIB_UUID) += uuid.o
|
|
else
|
|
obj-$(CONFIG_SANDBOX) += kconfig_spl.o
|
|
endif
|