scripts/run-config: Ensure stepnum has a value when there are no steps

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2020-11-20 23:24:22 +00:00
parent d9c77dd000
commit afb6c5a887

View File

@ -82,6 +82,7 @@ elif args.build_type == "full":
# Find out the number of steps this target has
maxsteps = 0
stepnum = 0
if args.target in ourconfig['overrides']:
for v in ourconfig['overrides'][args.target]:
if v.startswith("step"):