]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
test: str_ut.c depends on CONFIG_STRTO
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 20 Jan 2025 08:29:32 +0000 (09:29 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 24 Jan 2025 20:15:21 +0000 (14:15 -0600)
The string conversion functions are implemented in lib/strto.c which is
only compiled if CONFIG_STRTO=y.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/lib/Makefile

index 24ce6ed8f00e7f7163fa08fcf0f9c5cb1b0bc61c..f15a76cec2e18f5df0dc620fd459fef4ef6c8650 100644 (file)
@@ -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