mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
build system tweaks to account for latest hush changes
This commit is contained in:
parent
d85a5df159
commit
18f2a79f9b
@ -76,17 +76,6 @@ cat .config \
|
|||||||
mv .config.new .config
|
mv .config.new .config
|
||||||
}
|
}
|
||||||
|
|
||||||
# CONFIG_NOMMU + CONFIG_HUSH + CONFIG_WERROR don't mix
|
|
||||||
# (produces warning)
|
|
||||||
grep -q ^CONFIG_NOMMU= .config && \
|
|
||||||
grep -q ^CONFIG_HUSH= .config && \
|
|
||||||
{
|
|
||||||
cat .config \
|
|
||||||
| grep -v ^CONFIG_WERROR= \
|
|
||||||
| cat >.config.new
|
|
||||||
mv .config.new .config
|
|
||||||
}
|
|
||||||
|
|
||||||
# Regenerate .config with default answers for yanked-off options
|
# Regenerate .config with default answers for yanked-off options
|
||||||
{ yes "" | make oldconfig >/dev/null; } || exit 1
|
{ yes "" | make oldconfig >/dev/null; } || exit 1
|
||||||
|
|
||||||
|
@ -136,14 +136,14 @@ config ASH_OPTIMIZE_FOR_SIZE
|
|||||||
Compile ash for reduced size at the price of speed.
|
Compile ash for reduced size at the price of speed.
|
||||||
|
|
||||||
config ASH_RANDOM_SUPPORT
|
config ASH_RANDOM_SUPPORT
|
||||||
bool "Pseudorandom generator and variable $RANDOM"
|
bool "Pseudorandom generator and $RANDOM variable"
|
||||||
default n
|
default n
|
||||||
depends on ASH
|
depends on ASH
|
||||||
help
|
help
|
||||||
Enable pseudorandom generator and dynamic variable "$RANDOM".
|
Enable pseudorandom generator and dynamic variable "$RANDOM".
|
||||||
Each read of "$RANDOM" will generate a new pseudorandom value.
|
Each read of "$RANDOM" will generate a new pseudorandom value.
|
||||||
You can reset the generator by using a specified start value.
|
You can reset the generator by using a specified start value.
|
||||||
After "unset RANDOM" then generator will switch off and this
|
After "unset RANDOM" the generator will switch off and this
|
||||||
variable will no longer have special treatment.
|
variable will no longer have special treatment.
|
||||||
|
|
||||||
config ASH_EXPAND_PRMT
|
config ASH_EXPAND_PRMT
|
||||||
@ -151,7 +151,7 @@ config ASH_EXPAND_PRMT
|
|||||||
default n
|
default n
|
||||||
depends on ASH
|
depends on ASH
|
||||||
help
|
help
|
||||||
"PS#" may be contain volatile content, such as backquote commands.
|
"PS#" may contain volatile content, such as backquote commands.
|
||||||
This option recreates the prompt string from the environment
|
This option recreates the prompt string from the environment
|
||||||
variable each time it is displayed.
|
variable each time it is displayed.
|
||||||
|
|
||||||
@ -164,11 +164,11 @@ config HUSH
|
|||||||
options such as if/then/elif/else/fi, for/in/do/done, while loops,
|
options such as if/then/elif/else/fi, for/in/do/done, while loops,
|
||||||
case/esac.
|
case/esac.
|
||||||
|
|
||||||
It uses only vfork, so it can be used on no-mmu systems.
|
It will compile and work on no-mmu systems.
|
||||||
|
|
||||||
It does not handle select, functions, here documents ( <<
|
It does not handle select, functions, here documents ( <<
|
||||||
word ), arithmetic expansion, aliases, brace expansion, tilde
|
word ), aliases, brace expansion, tilde expansion,
|
||||||
expansion, &> and >& redirection of stdout+stderr, etc.
|
&> and >& redirection of stdout+stderr, etc.
|
||||||
|
|
||||||
config HUSH_HELP
|
config HUSH_HELP
|
||||||
bool "help builtin"
|
bool "help builtin"
|
||||||
@ -218,7 +218,6 @@ config HUSH_LOOPS
|
|||||||
depends on HUSH
|
depends on HUSH
|
||||||
help
|
help
|
||||||
Enable for, while and until loops in hush.
|
Enable for, while and until loops in hush.
|
||||||
As of 2008-07, break and continue statements are not supported.
|
|
||||||
|
|
||||||
config HUSH_CASE
|
config HUSH_CASE
|
||||||
bool "Support case ... esac statement"
|
bool "Support case ... esac statement"
|
||||||
|
Loading…
Reference in New Issue
Block a user