build system: actually provide revision information in defconfig
commita91402fc1ee341fca6bec6df76960f68e8b0f8ce
authorPatrick Georgi <pgeorgi@chromium.org>
Fri, 27 Nov 2015 11:36:28 +0000 (27 12:36 +0100)
committerMartin Roth <martinroth@google.com>
Fri, 4 Dec 2015 18:05:02 +0000 (4 19:05 +0100)
tree1dd703a1fa949b29976c070a4c1ccd811c404183
parent446c5dcd14cd551ad8ad35101ab2cdd2bdd78757
build system: actually provide revision information in defconfig

The config file added to CBFS is the short version created by defconfig.
The build system tried to add a header describing the version for quite
a while now, but failed because it wrote to the file, then had kconfig
overwrite it with the config data.

While at it, rely on build.h and its version information instead of
calling git manually.

Change-Id: I5e4d6c857594a55432c05bf1480973fc950f4d4a
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/12558
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Makefile.inc