mirror of https://github.com/ArduPilot/ardupilot
Tools: create CHIBIOS_GIT_VERSION build-time define
This commit is contained in:
parent
beb2147191
commit
e9a07bdd6f
|
@ -395,6 +395,7 @@ class chibios(Board):
|
|||
|
||||
def build(self, bld):
|
||||
super(chibios, self).build(bld)
|
||||
bld.ap_version_append_str('CHIBIOS_GIT_VERSION', bld.git_submodule_head_hash('ChibiOS', short=True))
|
||||
bld.load('chibios')
|
||||
|
||||
def pre_build(self, bld):
|
||||
|
|
|
@ -17,6 +17,7 @@ rm -rf $BUILDROOT
|
|||
export GIT_VERSION="ci_test"
|
||||
export NUTTX_GIT_VERSION="ci_test"
|
||||
export PX4_GIT_VERSION="ci_test"
|
||||
export CHIBIOS_GIT_VERSION="ci_test"
|
||||
export CCACHE_SLOPPINESS="include_file_ctime,include_file_mtime"
|
||||
|
||||
# If CI_BUILD_TARGET is not set, build 3 different ones
|
||||
|
|
Loading…
Reference in New Issue