summaryrefslogtreecommitdiff
path: root/vgasrc
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2015-10-13 15:44:25 -0400
committerKevin O'Connor <kevin@koconnor.net>2015-10-15 10:55:10 -0400
commitefd70a5006b9d402ba74fd3c49872062cb48667f (patch)
tree5a67c5aa870eaca0cd9adef23dce8462fdf7113e /vgasrc
parenta6c877401b748092e2e7799bfb4a4bd84729b1da (diff)
downloadqemu-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 'vgasrc')
-rw-r--r--vgasrc/vgainit.c1
-rw-r--r--vgasrc/vgaversion.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/vgasrc/vgainit.c b/vgasrc/vgainit.c
index 8d12261..40997db 100644
--- a/vgasrc/vgainit.c
+++ b/vgasrc/vgainit.c
@@ -150,6 +150,7 @@ vga_post(struct bregs *regs)
{
serial_debug_preinit();
dprintf(1, "Start SeaVGABIOS (version %s)\n", VERSION);
+ dprintf(1, "VGABUILD: %s\n", BUILDINFO);
debug_enter(regs, DEBUG_VGA_POST);
if (CONFIG_VGA_PCI && !GET_GLOBAL(HaveRunInit)) {
diff --git a/vgasrc/vgaversion.c b/vgasrc/vgaversion.c
index 02c8ea3..1ef5ddb 100644
--- a/vgasrc/vgaversion.c
+++ b/vgasrc/vgaversion.c
@@ -3,3 +3,4 @@
#include "types.h"
char VERSION[] VAR16 = BUILD_VERSION;
+char BUILDINFO[] VAR16 = BUILD_TOOLS;