[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:
parent
4d9f100240
commit
153748cce9
|
@ -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 := \
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Reference in New Issue