diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 506e939fd7..71d811c206 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -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): diff --git a/Tools/scripts/build_ci.sh b/Tools/scripts/build_ci.sh index afb0f5be75..c8a697a42d 100755 --- a/Tools/scripts/build_ci.sh +++ b/Tools/scripts/build_ci.sh @@ -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