Browse Source

waf: include integer version of GIT_VERSION (hash)

gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
410507d54d
  1. 1
      Tools/ardupilotwaf/boards.py

1
Tools/ardupilotwaf/boards.py

@ -416,6 +416,7 @@ class Board: @@ -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…
Cancel
Save