提交 7fed89e0 编写于 作者: S Simon Glass 提交者: Wolfgang Denk

Don't include standard parser if hush is used

This saves about 1KB of code space on ARM with CONFIG_SYS_HUSH_PARSER
defined.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 53071532
......@@ -1132,6 +1132,7 @@ int parse_line (char *line, char *argv[])
/****************************************************************************/
#ifndef CONFIG_SYS_HUSH_PARSER
static void process_macros (const char *input, char *output)
{
char c, prev;
......@@ -1382,6 +1383,7 @@ static int builtin_run_command(const char *cmd, int flag)
return rc ? rc : repeatable;
}
#endif
/*
* Run a command using the selected parser.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册