Re: [PATCH] net: Handle disabling of compilation for SPL builds

2020-01-27 Thread Nathan Rossi
On Tue, 28 Jan 2020 at 02:51, Tom Rini wrote: > > On Mon, Jan 27, 2020 at 12:40:17PM +, Nathan Rossi wrote: > > > Whilst the net/ directory is excluded from libs-y when > > CONFIG_SPL_NET_SUPPORT is disabled, this does not prevent SPL builds > > trying to compile net/ objects. During SPL build

Re: [PATCH] net: Handle disabling of compilation for SPL builds

2020-01-27 Thread Tom Rini
On Mon, Jan 27, 2020 at 12:40:17PM +, Nathan Rossi wrote: > Whilst the net/ directory is excluded from libs-y when > CONFIG_SPL_NET_SUPPORT is disabled, this does not prevent SPL builds > trying to compile net/ objects. During SPL builds overwrite the value of > CONFIG_NET with CONFIG_SPL_NET_

[PATCH] net: Handle disabling of compilation for SPL builds

2020-01-27 Thread Nathan Rossi
Whilst the net/ directory is excluded from libs-y when CONFIG_SPL_NET_SUPPORT is disabled, this does not prevent SPL builds trying to compile net/ objects. During SPL builds overwrite the value of CONFIG_NET with CONFIG_SPL_NET_SUPPORT to exclude compilation during SPL builds. Signed-off-by: Natha