|
|
@ -416,6 +416,7 @@ class Board: |
|
|
|
|
|
|
|
|
|
|
|
def build(self, bld): |
|
|
|
def build(self, bld): |
|
|
|
bld.ap_version_append_str('GIT_VERSION', bld.git_head_hash(short=True)) |
|
|
|
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 |
|
|
|
import time |
|
|
|
ltime = time.localtime() |
|
|
|
ltime = time.localtime() |
|
|
|
if bld.env.build_dates: |
|
|
|
if bld.env.build_dates: |
|
|
|