From: Simon Glass Date: Mon, 14 Mar 2016 01:07:35 +0000 (-0600) Subject: Drop various features when the command line is not available X-Git-Tag: v2016.05-rc1~221 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9a6598daaf0d0681bd423196364b2e4e3959ebbc;p=oweals%2Fu-boot.git 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 Reviewed-by: Tom Rini --- diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index ddfe0450d2..6b6ec00a9a 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 */