summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c44b3f0..7f8f32f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,16 @@ QEMU_FLAGS_X86_64="--enable-kvm -monitor stdio \\
-M q35 -m 1G -smp 4 -cpu host \\
-cdrom Vega.iso"
+VEGA_BUILDDATE=`export LANG=en_US.UTF-8 ; date`
+VEGA_BUILDUSER=`whoami`
+VEGA_BUILDHOST=`hostname`
+VEGA_BUILDDIR=`pwd`
+
+AC_SUBST(VEGA_BUILDDATE, [$VEGA_BUILDDATE])
+AC_SUBST(VEGA_BUILDUSER, [$VEGA_BUILDUSER])
+AC_SUBST(VEGA_BUILDHOST, [$VEGA_BUILDHOST])
+AC_SUBST(VEGA_BUILDDIR, [$VEGA_BUILDDIR])
+
AC_SUBST(KERNEL_CFLAGS, [$KERN_CFLAGS_X86_64])
AC_SUBST(QEMU_FLAGS, [$QEMU_FLAGS_X86_64])
AC_SUBST(QEMU, [qemu-system-x86_64])