mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
1872c67359
commit
9a6598daaf
1 changed files with 10 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue