summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2020-01-27 08:04:53 +0000
committerTom Rini <trini@konsulko.com>2020-02-01 08:21:01 -0500
commitacd5fcf47c87df1b5778df8e4043cff2ce31a64a (patch)
treeec94afb8fcd2e9740015383bc408cab5e13ff7e8
parent80e99adbe47d1c8590f9b971ac52257fdc51a5ec (diff)
downloadu-boot-WIP/2020-01-31-master-imports.tar.gz
cmd: Handle CONFIG_(SPL_)ENV_SUPPORT for toggling the nvedit objectWIP/2020-01-31-master-imports
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 <nathan@nathanrossi.com>
-rw-r--r--cmd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Makefile b/cmd/Makefile
index 4f29b72c69..90dc09d095 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -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/