On Thu, 08 Jan 2026 13:28:36 +0100, Quentin Schulz wrote:

> When SPL_NET is included, scripts/Makefile.xpl includes net/. However,
> in this directory, the Makefile only compiles things if CONFIG_NET or
> CONFIG_NET_LWIP is defined (it doesn't use $(PHASE_)). Therefore, at
> least one networking stack needs to be enabled for SPL_NET=y to do
> anything meaningful.
> 
> In certain cases (e.g. am62px_evm_r5_ethboot_defconfig + NO_NET=y via
> menuconfig), it is possible to fail the build with undefined references
> (since include/net-common.h does check with CONFIG_IS_ENABLED(NET) which
> would be true for SPL_NET, but the implementation wouldn't be compiled).
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] spl: fix incorrect dependency for SPL_NET
      commit: cb1d775d253c84a0eee0db94d8bf4145d9fd7bd3
-- 
Tom


Reply via email to