david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[lkrnprefix] Include iPXE version string in image header

Originally-implemented-by: Christian Hesse <list@eworm.de>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2013-12-06 20:11:36 +00:00
parent 4d9f100240
commit 153748cce9
2 changed files with 8 additions and 1 deletions

View File

@ -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 := \

View File

@ -127,7 +127,7 @@ realmode_swtch:
start_sys:
.word 0
kernel_version:
.word 0
.word version_string - 0x200
type_of_loader:
.byte 0
loadflags:
@ -166,6 +166,9 @@ hardware_subarch:
hardware_subarch_data:
.byte 0, 0, 0, 0, 0, 0, 0, 0
version_string:
.asciz VERSION
/*
We don't need to do too much setup.