mirror of
https://github.com/ipxe/ipxe
synced 2025-12-09 20:09:53 +03:00
[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:
@@ -69,6 +69,10 @@ CFLAGS += -fshort-wchar
|
|||||||
#
|
#
|
||||||
CFLAGS += -Ui386
|
CFLAGS += -Ui386
|
||||||
|
|
||||||
|
# Define version string for lkrnprefix.S
|
||||||
|
#
|
||||||
|
CFLAGS_lkrnprefix += -DVERSION="\"$(VERSION)\""
|
||||||
|
|
||||||
# Locations of utilities
|
# Locations of utilities
|
||||||
#
|
#
|
||||||
ISOLINUX_BIN_LIST := \
|
ISOLINUX_BIN_LIST := \
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ realmode_swtch:
|
|||||||
start_sys:
|
start_sys:
|
||||||
.word 0
|
.word 0
|
||||||
kernel_version:
|
kernel_version:
|
||||||
.word 0
|
.word version_string - 0x200
|
||||||
type_of_loader:
|
type_of_loader:
|
||||||
.byte 0
|
.byte 0
|
||||||
loadflags:
|
loadflags:
|
||||||
@@ -166,6 +166,9 @@ hardware_subarch:
|
|||||||
hardware_subarch_data:
|
hardware_subarch_data:
|
||||||
.byte 0, 0, 0, 0, 0, 0, 0, 0
|
.byte 0, 0, 0, 0, 0, 0, 0, 0
|
||||||
|
|
||||||
|
version_string:
|
||||||
|
.asciz VERSION
|
||||||
|
|
||||||
/*
|
/*
|
||||||
We don't need to do too much setup.
|
We don't need to do too much setup.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user