aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/i386/Makefile
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2013-12-06 20:11:36 +0000
committerMichael Brown <mcb30@ipxe.org>2013-12-06 20:11:36 +0000
commit153748cce9b637e082f869d17197bc3ff5b24756 (patch)
tree76eb37b364062b8d077d2dec992d85f31398b769 /src/arch/i386/Makefile
parent4d9f100240aa9ac6dd3853aead9e97e1cffd383f (diff)
downloadipxe-153748cce9b637e082f869d17197bc3ff5b24756.tar.gz
[lkrnprefix] Include iPXE version string in image header
Originally-implemented-by: Christian Hesse <list@eworm.de> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/Makefile')
-rw-r--r--src/arch/i386/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile
index 3ee40014..d1b885c8 100644
--- a/src/arch/i386/Makefile
+++ b/src/arch/i386/Makefile
@@ -69,6 +69,10 @@ CFLAGS += -fshort-wchar
#
CFLAGS += -Ui386
+# Define version string for lkrnprefix.S
+#
+CFLAGS_lkrnprefix += -DVERSION="\"$(VERSION)\""
+
# Locations of utilities
#
ISOLINUX_BIN_LIST := \