* [PATCH 1/1] test: str_ut.c depends on CONFIG_STRTO
@ 2024-11-13 21:06 Heinrich Schuchardt
2024-11-13 21:53 ` Tom Rini
2025-01-19 20:18 ` Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2024-11-13 21:06 UTC (permalink / raw)
To: Tom Rini; +Cc: Simon Glass, u-boot, Heinrich Schuchardt
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
--
2.45.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] test: str_ut.c depends on CONFIG_STRTO
2024-11-13 21:06 [PATCH 1/1] test: str_ut.c depends on CONFIG_STRTO Heinrich Schuchardt
@ 2024-11-13 21:53 ` Tom Rini
2025-01-19 20:18 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2024-11-13 21:53 UTC (permalink / raw)
To: Heinrich Schuchardt; +Cc: Simon Glass, u-boot
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
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>
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] test: str_ut.c depends on CONFIG_STRTO
2024-11-13 21:06 [PATCH 1/1] test: str_ut.c depends on CONFIG_STRTO Heinrich Schuchardt
2024-11-13 21:53 ` Tom Rini
@ 2025-01-19 20:18 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2025-01-19 20:18 UTC (permalink / raw)
To: Heinrich Schuchardt; +Cc: Simon Glass, u-boot
[-- Attachment #1: Type: text/plain, Size: 839 bytes --]
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.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-19 20:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13 21:06 [PATCH 1/1] test: str_ut.c depends on CONFIG_STRTO Heinrich Schuchardt
2024-11-13 21:53 ` Tom Rini
2025-01-19 20:18 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox