This is done by generating a Kernel/Version.h header with major version, minor version, and git hash.