On Fri, Aug 02, 2024 at 06:26:35PM +0200, Jerome Forissier wrote: > Add what it takes to enable NETDEVICES with NET_LWIP and enable DHCP as > well as the dhcp command. CMD_TFTPBOOT is selected by BOOTMETH_EFI due > to this code having an implicit dependency on do_tftpb(). > > Signed-off-by: Jerome Forissier <jerome.foriss...@linaro.org> [snip] > diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c > index 9a70c6095b3..c2492b69a13 100644 > --- a/lib/tiny-printf.c > +++ b/lib/tiny-printf.c > @@ -269,7 +269,7 @@ static int _vprintf(struct printf_info *info, const char > *fmt, va_list va) > } > break; > case 'p': > - if (CONFIG_IS_ENABLED(NET) || _DEBUG) { > + if (!CONFIG_IS_ENABLED(NO_NET) || _DEBUG) { > pointer(info, fmt, va_arg(va, void *)); > /* > * Skip this because it pulls in _ctype > which is
This is subtly wrong, and you can see for example that _vsprintf grows in TPL in pinephone-pro-rk3399. -- Tom
signature.asc
Description: PGP signature