From d51f35a553b0c40603c45a8d1d3110640fb119e3 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Mon, 20 Jan 2025 09:29:32 +0100 Subject: [PATCH] test: str_ut.c depends on CONFIG_STRTO The string conversion functions are implemented in lib/strto.c which is only compiled if CONFIG_STRTO=y. Signed-off-by: Heinrich Schuchardt --- test/lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/Makefile b/test/lib/Makefile index 24ce6ed8f00..f15a76cec2e 100644 --- a/test/lib/Makefile +++ b/test/lib/Makefile @@ -17,7 +17,7 @@ obj-y += lmb.o obj-$(CONFIG_HAVE_SETJMP) += longjmp.o obj-$(CONFIG_CONSOLE_RECORD) += test_print.o obj-$(CONFIG_SSCANF) += sscanf.o -obj-$(CONFIG_$(XPL_)CMDLINE) += str.o +obj-$(CONFIG_$(PHASE_)STRTO) += str.o obj-y += string.o obj-y += strlcat.o obj-$(CONFIG_ERRNO_STR) += test_errno_str.o -- 2.39.5