[PATCH 1/1] 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 --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/Makefile b/test/Makefile index 145c952d2c3..efd5ba7acfd 100644 --- a/test/Makefile +++ b/test/Makefile @@ -21,7 +21,7 @@ ifneq ($(CONFIG_HUSH_PARSER),) obj-$(CONFIG_$(XPL_)CMDLINE) += hush/ endif obj-$(CONFIG_$(XPL_)CMDLINE) += print_ut.o -obj-$(CONFIG_$(XPL_)CMDLINE) += str_ut.o +obj-$(CONFIG_$(PHASE_)STRTO) += str_ut.o obj-$(CONFIG_UT_TIME) += time_ut.o obj-y += ut.o

On Wed, Nov 13, 2024 at 10:06:46PM +0100, Heinrich Schuchardt wrote:
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
Reviewed-by: Tom Rini trini@konsulko.com

On Wed, Nov 13, 2024 at 10:06:46PM +0100, Heinrich Schuchardt wrote:
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/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/Makefile b/test/Makefile index 145c952d2c3..efd5ba7acfd 100644 --- a/test/Makefile +++ b/test/Makefile @@ -21,7 +21,7 @@ ifneq ($(CONFIG_HUSH_PARSER),) obj-$(CONFIG_$(XPL_)CMDLINE) += hush/ endif obj-$(CONFIG_$(XPL_)CMDLINE) += print_ut.o -obj-$(CONFIG_$(XPL_)CMDLINE) += str_ut.o +obj-$(CONFIG_$(PHASE_)STRTO) += str_ut.o obj-$(CONFIG_UT_TIME) += time_ut.o obj-y += ut.o
Can you please rebase this to master? Thanks.
participants (2)
-
Heinrich Schuchardt
-
Tom Rini