mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
waf: take ap_version.h int items from environment as we do str items
This will mean we take the integer version of GIT_VERSION from the env too
This commit is contained in:
parent
fa293fd5f3
commit
7474a31a83
@ -380,7 +380,7 @@ def ap_version_append_str(ctx, k, v):
|
||||
|
||||
@conf
|
||||
def ap_version_append_int(ctx, k, v):
|
||||
ctx.env['AP_VERSION_ITEMS'] += [(k,v)]
|
||||
ctx.env['AP_VERSION_ITEMS'] += [(k, '{}'.format(os.environ.get(k, v)))]
|
||||
|
||||
@conf
|
||||
def write_version_header(ctx, tgt):
|
||||
|
Loading…
Reference in New Issue
Block a user