diff --git a/Tools/ardupilotwaf/ardupilotwaf.py b/Tools/ardupilotwaf/ardupilotwaf.py index debba962ba..ab21c7e2ed 100644 --- a/Tools/ardupilotwaf/ardupilotwaf.py +++ b/Tools/ardupilotwaf/ardupilotwaf.py @@ -234,6 +234,10 @@ _versions = [] def ap_version_append_str(ctx, k, v): ctx.env['AP_VERSION_ITEMS'] += [(k, '"{}"'.format(os.environ.get(k, v)))] +@conf +def ap_version_append_int(ctx, k, v): + ctx.env['AP_VERSION_ITEMS'] += [(k,v)] + @conf def write_version_header(ctx, tgt): with open(tgt, 'w') as f: