mirror of https://github.com/ArduPilot/ardupilot
waf: include integer version of GIT_VERSION (hash)
This commit is contained in:
parent
fa7e205d5d
commit
410507d54d
|
@ -416,6 +416,7 @@ class Board:
|
|||
|
||||
def build(self, bld):
|
||||
bld.ap_version_append_str('GIT_VERSION', bld.git_head_hash(short=True))
|
||||
bld.ap_version_append_int('GIT_VERSION_INT', int("0x" + bld.git_head_hash(short=True), base=16))
|
||||
import time
|
||||
ltime = time.localtime()
|
||||
if bld.env.build_dates:
|
||||
|
|
Loading…
Reference in New Issue