diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-08-17 10:26:29 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-09-02 18:30:24 (GMT) |
commit | 641b0d374eeea65778bf8cb2107064c2aff195eb (patch) | |
tree | 256be8ba66e737f82f2ac31b1ce0795ea8388bf8 /arch/nios2 | |
parent | 923c46f97a7936cbdc6e113d7705cf46a73dc85c (diff) | |
download | u-boot-641b0d374eeea65778bf8cb2107064c2aff195eb.tar.xz |
hush: Add default value substitution support
Use standard sh syntax:
${VAR:-default}
Use default value: if VAR is set and non-null, expands to $VAR.
Otherwise, expands to default.
${VAR:=default}
Set default value: if VAR is set and non-null, expands to $VAR.
Otherwise, sets hush VAR to default and expands to default.
${VAR:+default}
If VAR is set and non-null, expands to the empty string.
Otherwise, expands to default.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions