run: abort with error if BOARD was not set

This commit is contained in:
Christian Helmuth 2019-06-13 17:06:57 +02:00
parent 186c35bb09
commit cf2c9f8d88

View File

@ -823,7 +823,7 @@ proc board { } {
global board_var global board_var
if {$board_var eq ""} { if {$board_var eq ""} {
puts "Unknown platform no BOARD variable set" puts "Unknown platform no BOARD variable set"
exit 0 exit 1
} }
return $board_var return $board_var
} }