aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-10-26 14:31:29 -0400
committerTom Rini <trini@konsulko.com>2023-11-07 14:49:09 -0500
commit88d9b2617e6a827c2809e51932d1878ca9500dff (patch)
tree458a8b79b0876eac0f6b443a33e28660f9c84b54 /Makefile
parentdbdb4b3374ed96be9b5df123b7009030e0ff37df (diff)
downloadu-boot-88d9b2617e6a827c2809e51932d1878ca9500dff.zip
u-boot-88d9b2617e6a827c2809e51932d1878ca9500dff.tar.gz
u-boot-88d9b2617e6a827c2809e51932d1878ca9500dff.tar.bz2
cmd: Make most commands depend on CMDLINE
If we disable CMDLINE then we should not ask about enabling the hush parser nor any of the commands that would be run on the command line as it is no longer available. Convert the CMDLINE option into a menuconfig and make every command referenced under cmd/Kconfig depend on it. This leaves as future work moving the commands that are not under the cmd/ hierarchy as future work. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 08604ed..bedcef4 100644
--- a/Makefile
+++ b/Makefile
@@ -851,7 +851,7 @@ HAVE_VENDOR_COMMON_LIB = $(if $(wildcard $(srctree)/board/$(VENDOR)/common/Makef
libs-$(CONFIG_API) += api/
libs-$(HAVE_VENDOR_COMMON_LIB) += board/$(VENDOR)/common/
libs-y += boot/
-libs-y += cmd/
+libs-$(CONFIG_CMDLINE) += cmd/
libs-y += common/
libs-$(CONFIG_OF_EMBED) += dts/
libs-y += env/