From: Heinrich Schuchardt Date: Mon, 20 Jan 2025 08:29:32 +0000 (+0100) Subject: test: str_ut.c depends on CONFIG_STRTO X-Git-Tag: v2025.04-rc1~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d51f35a553b0c40603c45a8d1d3110640fb119e3;p=thirdparty%2Fu-boot.git 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 --- 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