summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-01-20 09:29:32 +0100
committerTom Rini <trini@konsulko.com>2025-01-24 14:15:21 -0600
commitd51f35a553b0c40603c45a8d1d3110640fb119e3 (patch)
treefe6469f286fc7b4c7e43f8aecc7aed15d8848fa4
parent9057a48af46eb9a99493f661bfd3d486e54d1ea9 (diff)
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 <heinrich.schuchardt@canonical.com>
-rw-r--r--test/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
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