build.py: Fix missing global declaration

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-04-21 10:44:36 +00:00
commit 50f50e563d

View file

@ -95,6 +95,7 @@ def calculate_order(order, modules, prereq_type):
return 1
def run_make(module, target):
global cur_project
cur_project=cur_project+1
make_cmd = "make " + target + " 2>&1"
path = find_proj_path(module)