diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-03-19 19:26:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-22 05:46:47 +0100 |
commit | 76daefac0ca8a2cf13f7b6b1086536e6094330ef (patch) | |
tree | 56639360e5d53c23fdade3be93a6e1a22be35e50 /common | |
parent | 31cea697f87bb9c79c4c3181275b276aaaf4cf92 (diff) | |
download | barebox-76daefac0ca8a2cf13f7b6b1086536e6094330ef.tar.gz |
common: shell: select dependency GLOB for SHELL_SIMPLE
Both CONFIG_SHELL_HUSH and CONFIG_SHELL_SIMPLE will call run_init, which
already uses glob to collect the init scripts to run. select GLOB to
make sure that these scripts are executed. If there is a use case for
a shell configuration without glob support to save on size, this should
be realized by a new Kconfig symbol to disable the init scripts.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 8abb85ce81..2170f985be 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -402,6 +402,7 @@ choice select PARAMETER select BINFMT select STDDEV + select GLOB help Enable hush support. This is the most advanced shell available for barebox. @@ -413,6 +414,7 @@ choice select PARAMETER select STDDEV select CMD_SETENV + select GLOB help simple shell. No if/then, no return values from commands, no loops |