diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2015-10-13 15:44:25 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-10-15 10:55:10 -0400 |
commit | efd70a5006b9d402ba74fd3c49872062cb48667f (patch) | |
tree | 5a67c5aa870eaca0cd9adef23dce8462fdf7113e /src | |
parent | a6c877401b748092e2e7799bfb4a4bd84729b1da (diff) | |
download | qemu-seabios-efd70a5006b9d402ba74fd3c49872062cb48667f.tar.gz |
build: Report gcc and binutils versions in debug log
Attempt to extract the gcc and binutils versions. Report that
information in the debug log.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/output.c | 1 | ||||
-rw-r--r-- | src/util.h | 2 | ||||
-rw-r--r-- | src/version.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/output.c b/src/output.c index 45397b3..8a88388 100644 --- a/src/output.c +++ b/src/output.c @@ -30,6 +30,7 @@ void debug_banner(void) { dprintf(1, "SeaBIOS (version %s)\n", VERSION); + dprintf(1, "BUILD: %s\n", BUILDINFO); } // Write a character to debug port(s). @@ -236,6 +236,6 @@ void vgahook_setup(struct pci_device *pci); // version (auto generated file out/version.c) -extern const char VERSION[]; +extern const char VERSION[], BUILDINFO[]; #endif // util.h diff --git a/src/version.c b/src/version.c index d8c266f..a8a58cf 100644 --- a/src/version.c +++ b/src/version.c @@ -2,3 +2,4 @@ #include "autoversion.h" char VERSION[] = BUILD_VERSION; +char BUILDINFO[] = BUILD_TOOLS; |