Skip to content
Commit fce812d8 authored by Hanyuan Zhao's avatar Hanyuan Zhao Committed by Tom Rini
Browse files

cli: compile history code if and only if history config is selected



This commit allows user to determine whether to have history recording
in command-line. Previously to this commit, the CMD_HISTORY only sets
the compiling of cmd/history.c, and the history code in cli_readline.c
is always compiled and will take a lot of space to store history even if
we say N to CMD_HISTORY.

Signed-off-by: default avatarHanyuan Zhao <hanyuan-z@qq.com>
parent 421359ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment