At present we rely on this not existing to avoid building various
command-line features.

But with the new split configs this does not work. Add separates Kconfigs
instead.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 cmd/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 3a857b3f6e2..f469739a5fe 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -23,6 +23,16 @@ config HUSH_PARSER
          If disabled, you get the old, much simpler behaviour with a somewhat
          smaller memory footprint.
 
+config SPL_CMDLINE
+       def_bool n
+       help
+         Dummy option to ensure that the command line is not enabled in SPL.
+
+config SPL_HUSH_PARSER
+       def_bool n
+       help
+         Dummy option to ensure that the hush parser is not enabled in SPL.
+
 config CMDLINE_EDITING
        bool "Enable command line editing"
        depends on CMDLINE
-- 
2.33.0.309.g3052b89438-goog

Reply via email to