summaryrefslogtreecommitdiff
path: root/common/cli.c
diff options
context:
space:
mode:
authorFrancis Laniel <francis.laniel@amarulasolutions.com>2023-12-22 22:02:28 +0100
committerTom Rini <trini@konsulko.com>2023-12-28 12:02:56 -0500
commit8197f01b9d3c03eec60f068a09eff88554f5a188 (patch)
tree5470b6cadf53242282b50e0e41ec6c03081a02d3 /common/cli.c
parentb234f7e3c30c422a072762d98c1408e76164df6b (diff)
cli: Port upstream Busybox hush to U-Boot
Adds new file cli_hush_upstream.c, it is a copy of Busybox hush file as it was of time to commit 37460f5da. This commit modifies Busybox hush to not compile some part specific to Busybox and adds some code needed by U-Boot. The modifications consists mainly on adding code #if(n)def guards. For the moment, this refurbished flavor of hush only permits running command without any keywords (i.e., if and for are not recognized) or variable expansion (i.e., echo $foo prints foo and not value stored in variable foo). A new file was also added to define some functions specific to U-Boot. Signed-off-by: Francis Laniel <francis.laniel@amarulasolutions.com> Signed-off-by: Harald Seiler <hws@denx.de>
Diffstat (limited to 'common/cli.c')
0 files changed, 0 insertions, 0 deletions