We would like to have a build number (i.e. the amount of times one has built a kernel tree) as part of the version.h set of macros. This is akin to the build number in Linux, as shown:
Zephyr 1.9-rc2 #1559 Mon Jul 17 16:32:11 UTC 2017 nRF51
The 1559 is the build number.