diff options
author | Simon Glass <sjg@chromium.org> | 2016-03-13 19:07:35 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-22 12:16:11 -0400 |
commit | 9a6598daaf0d0681bd423196364b2e4e3959ebbc (patch) | |
tree | e531ca8c7e93c5dc17e7267c57c97b7a3c073791 /include | |
parent | 1872c67359ca7940e7442384288279811a9019b2 (diff) | |
download | u-boot-9a6598daaf0d0681bd423196364b2e4e3959ebbc.zip u-boot-9a6598daaf0d0681bd423196364b2e4e3959ebbc.tar.gz u-boot-9a6598daaf0d0681bd423196364b2e4e3959ebbc.tar.bz2 |
Drop various features when the command line is not available
Some features are only useful or meaningful when the command line is
present. Ensure that these features are not compiled in when CONFIG_CMDLINE
is not enabled.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/config_fallbacks.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index ddfe045..6b6ec00 100644 --- a/include/config_fallbacks.h +++ b/include/config_fallbacks.h @@ -97,4 +97,14 @@ # endif #endif +#ifndef CONFIG_CMDLINE +#undef CONFIG_CMDLINE_EDITING +#undef CONFIG_SYS_LONGHELP +#undef CONFIG_CMD_BOOTD +#undef CONFIG_CMD_RUN +#undef CONFIG_SYS_HUSH_PARSER +#undef CONFIG_CMD_ASKENV +#undef CONFIG_MENU +#endif + #endif /* __CONFIG_FALLBACKS_H */ |