summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-08-21 04:56:17 +0300
committerTom Rini <trini@konsulko.com>2020-08-27 18:26:58 +0300
commit4431a9889c67f76e66aa99fb9ad9e10c014e268f (patch)
tree23c758ca6c19e3d7897614fe0d2c08f1ac69258f /test/lib
parent12178b51c22d07229375f25e39acb0ab7735ff81 (diff)
downloadu-boot-4431a9889c67f76e66aa99fb9ad9e10c014e268f.tar.xz
test: undefined reference to 'sscanf'
Compiling with CONFIG_UNIT_TEST=y leads to: aarch64-linux-gnu-ld.bfd: test/lib/sscanf.c:50: undefined reference to `sscanf' Add missing build dependency. Fixes:e87dfb0526be ("lib: sscanf: add sscanf implementation") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/Makefile b/test/lib/Makefile
index ada62fe46b..22236f8587 100644
--- a/test/lib/Makefile
+++ b/test/lib/Makefile
@@ -7,7 +7,7 @@ obj-$(CONFIG_EFI_LOADER) += efi_device_path.o
obj-$(CONFIG_EFI_SECURE_BOOT) += efi_image_region.o
obj-y += hexdump.o
obj-y += lmb.o
-obj-y += sscanf.o
+obj-$(CONFIG_SSCANF) += sscanf.o
obj-y += string.o
obj-$(CONFIG_ERRNO_STR) += test_errno_str.o
obj-$(CONFIG_UT_LIB_ASN1) += asn1.o