Fix typo in stream redirection syntax

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Declare common function vars as local

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Simplify build/toolchain.sh

Remove some unused options and remove for the older style "toolchain" types
like elf32 and uclibc.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Minor fixes and corrections to scripts

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Remove obsolete script

`run_elf.sh` used to emulate "mdb -run" behaviour using nsim_gdb and gdb,
however now that same can be done with nsimdrv this script became useless.
Its usage is not recommended and its presence in repository might cause
confusion, so I remove it.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>