On Thu, 2019-06-13 at 13:33 -0400, Kevin O'Connor wrote:
Can you give some background on how this is intended to be used?
We used to allow the version string to be overridden, but we found the results were a bit chaotic - different people chose different names and it was hard to correlate a bug report to the source of the code. So, we changed to the scheme detailed at:
I encountered a build system with SeaBIOS in a git submodule of the main project.
The main project has an out-of-tree build, and currently *copies* everything from the SeaBIOS submodule (except .git) into the build directory and building it there. It creates a .version file with the overall version number of the main project.
By setting OUT= and KCONFIG_CONFIG= I can do a proper out of tree build from the original read-only SeaBIOS submodule... except for the version number. This solves that.