From 6aa9c0f453cf920762e0b90d56d80f7cb36d5e6d Mon Sep 17 00:00:00 2001 From: Benjamin ROBIN Date: Sat, 17 May 2025 22:09:30 +0200 Subject: env: Fix network support when CONFIG_NET_LWIP is set When lwIP (CONFIG_NET_LWIP) is used instead of legacy stack (CONFIG_NET), environment flags support associated with network was not built: restore support of "i" and "m" environment flags. Signed-off-by: Benjamin ROBIN Acked-by: Jerome Forissier Reviewed-by: Tom Rini --- include/env_callback.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/env_callback.h') diff --git a/include/env_callback.h b/include/env_callback.h index 47a31f6cf52..918ccb3b14f 100644 --- a/include/env_callback.h +++ b/include/env_callback.h @@ -32,7 +32,7 @@ #define DNS_CALLBACK #endif -#ifdef CONFIG_NET +#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP) #define NET_CALLBACKS \ "bootfile:bootfile," \ "ipaddr:ipaddr," \ -- cgit v1.2.3