Re: [PATCH v3 3/3] cli: compile history code if and only if history config is selected

2024-03-13 Thread Tom Rini
On Tue, Mar 05, 2024 at 03:37:37PM +0800, Hanyuan Zhao wrote: > 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

[PATCH v3 3/3] cli: compile history code if and only if history config is selected

2024-03-04 Thread Hanyuan Zhao
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