From: Peng Fan <peng....@nxp.com> No need to build nvedit.c when CONFIG_$(SPL_)ENV_SUPPORT is n
Signed-off-by: Peng Fan <peng....@nxp.com> --- cmd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/Makefile b/cmd/Makefile index dd86675bf2..2b2a0c26a6 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -201,7 +201,7 @@ endif # !CONFIG_SPL_BUILD obj-$(CONFIG_$(SPL_)CMD_TLV_EEPROM) += tlv_eeprom.o # core command -obj-y += nvedit.o +obj-$(CONFIG_$(SPL_)ENV_SUPPORT)+= nvedit.o obj-$(CONFIG_CMD_BCM_EXT_UTILS) += broadcom/ -- 2.28.0