Felipe Huici [Wed, 12 Feb 2020 18:51:00 +0000 (19:51 +0100)]
Fix broken behaviour when given append parameter.
This patch makes it so that Lua now goes straight into interactive
mode when not given initrd as a parameter; previosuly it was assuming
that the --append parameter was a file name to be read and executed,
which was broken.
Signed-off-by: Felipe Huici <felipe.huici@neclab.eu> Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Felipe Huici [Wed, 16 Oct 2019 09:44:54 +0000 (11:44 +0200)]
Add optional main()
We add a menu option to provide a main() function, and set it to on by
default so that in the standard case a user can choose a platform,
compile and run.
Signed-off-by: Felipe Huici <felipe.huici@neclab.eu> Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@gmail.com>