mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
Convert CONFIG_CMDLINE_PS_SUPPORT to Kconfig
This converts the following to Kconfig: CONFIG_CMDLINE_PS_SUPPORT Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
bd3ef27886
commit
dafcd96d8a
8
README
8
README
@ -1532,14 +1532,6 @@ The following options need to be configured:
|
|||||||
of the backslashes before semicolons and special
|
of the backslashes before semicolons and special
|
||||||
symbols.
|
symbols.
|
||||||
|
|
||||||
- Command Line Editing and History:
|
|
||||||
CONFIG_CMDLINE_PS_SUPPORT
|
|
||||||
|
|
||||||
Enable support for changing the command prompt string
|
|
||||||
at run-time. Only static string is supported so far.
|
|
||||||
The string is obtained from environment variables PS1
|
|
||||||
and PS2.
|
|
||||||
|
|
||||||
- Default Environment:
|
- Default Environment:
|
||||||
CONFIG_EXTRA_ENV_SETTINGS
|
CONFIG_EXTRA_ENV_SETTINGS
|
||||||
|
|
||||||
|
@ -31,6 +31,13 @@ config CMDLINE_EDITING
|
|||||||
Enable editing and History functions for interactive command line
|
Enable editing and History functions for interactive command line
|
||||||
input operations
|
input operations
|
||||||
|
|
||||||
|
config CMDLINE_PS_SUPPORT
|
||||||
|
bool "Enable support for changing the command prompt string at run-time"
|
||||||
|
depends on HUSH_PARSER
|
||||||
|
help
|
||||||
|
Only static string in the prompt is supported so far. The string is
|
||||||
|
obtained from environment variables PS1 and PS2.
|
||||||
|
|
||||||
config AUTO_COMPLETE
|
config AUTO_COMPLETE
|
||||||
bool "Enable auto complete using TAB"
|
bool "Enable auto complete using TAB"
|
||||||
depends on CMDLINE
|
depends on CMDLINE
|
||||||
|
@ -27,6 +27,7 @@ CONFIG_CLOCKS=y
|
|||||||
CONFIG_MISC_INIT_R=y
|
CONFIG_MISC_INIT_R=y
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
|
||||||
|
CONFIG_CMDLINE_PS_SUPPORT=y
|
||||||
CONFIG_CMD_ASKENV=y
|
CONFIG_CMD_ASKENV=y
|
||||||
CONFIG_CMD_GREPENV=y
|
CONFIG_CMD_GREPENV=y
|
||||||
CONFIG_CMD_EEPROM=y
|
CONFIG_CMD_EEPROM=y
|
||||||
|
@ -186,9 +186,6 @@
|
|||||||
"fi\0" \
|
"fi\0" \
|
||||||
"socfpga_legacy_reset_compat=1\0"
|
"socfpga_legacy_reset_compat=1\0"
|
||||||
|
|
||||||
/* Support changing the prompt string */
|
|
||||||
#define CONFIG_CMDLINE_PS_SUPPORT
|
|
||||||
|
|
||||||
/* The rest of the configuration is shared */
|
/* The rest of the configuration is shared */
|
||||||
#include <configs/socfpga_common.h>
|
#include <configs/socfpga_common.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user