run: fail if boot_dir module was not declared
This commit is contained in:
parent
98def2488a
commit
ae61e520d7
10
tool/run/run
10
tool/run/run
|
@ -493,8 +493,14 @@ proc wait_for_output { wait_for_re timeout_value running_spawn_id } {
|
||||||
proc run_boot_string { } { return ""; }
|
proc run_boot_string { } { return ""; }
|
||||||
|
|
||||||
##
|
##
|
||||||
# Dummy boot_dir maodule
|
# Fall-back boot_dir module
|
||||||
proc run_boot_dir { } { return true; }
|
#
|
||||||
|
# If this function is called someone forgot to include an appropriate boot_dir
|
||||||
|
# module. So, we exit with an error.
|
||||||
|
proc run_boot_dir { binaries } {
|
||||||
|
puts stderr "Error: boot_dir module missing, e.g., '--include boot_dir/hw'"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in New Issue