[PATCH v2 1/1] test: str_ut.c depends on CONFIG_STRTO
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Mon Jan 20 09:29:32 CET 2025
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 at canonical.com>
---
v2:
rebased on origin/master
---
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.47.1
More information about the U-Boot
mailing list