cmd: Handle CONFIG_(SPL_)ENV_SUPPORT for toggling the nvedit object
PATCH 1/1 cmd: Handle CONFIG_(SPL_)ENV_SUPPORT for toggling the nvedit object
When CONFIG_SPL_ENV_SUPPORT is disabled, nvedit was still being included as part of the build. Use the CONFIG_SPL_ENV_SUPPORT value as well as the non SPL CONFIG_ENV_SUPPORT variable to enable/disable the inclusion of nvedit.
Signed-off-by Nathan Rossi <[email protected]>
--- cmd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/Makefile +1 -1
@@ -186,7 +186,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_TI_COMMON_CMD_OPTIONS) += ti/
---
2.24.1
PATCH 1/1 cmd: Handle CONFIG_(SPL_)ENV_SUPPORT for toggling the nvedit object
Quoted 6 lines · Nathan Rossi
When
CONFIG_SPL_ENV_SUPPORTis disabled, nvedit was still being included as part of the build. Use theCONFIG_SPL_ENV_SUPPORTvalue as well as the non SPLCONFIG_ENV_SUPPORTvariable to enable/disable the inclusion of nvedit.Signed-off-by Nathan Rossi <[email protected]>
This breaks a number of platforms such as P1010RDB-PB_NAND please address and resubmit, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200201/3c9a34b3/attachment.sig>