aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2013-08-16 12:52:58 -0400
committerGene Cumm <gene.cumm@gmail.com>2013-09-23 17:25:32 -0400
commit960501d081bcde85648ebe24466dba35b239d95e (patch)
treef742671f608505dd26763eb34ab293b6a428d587
parent37141eb6b0265693052aeb8e2d38bf6e7fa5176b (diff)
downloadsyslinux-960501d081bcde85648ebe24466dba35b239d95e.tar.gz
syslinux-960501d081bcde85648ebe24466dba35b239d95e.tar.xz
syslinux-960501d081bcde85648ebe24466dba35b239d95e.zip
PXELINUX: specify PXE/lwIP
Styled after SYSLINUX Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--core/macros.inc5
-rw-r--r--core/pxelinux.asm5
2 files changed, 8 insertions, 2 deletions
diff --git a/core/macros.inc b/core/macros.inc
index e3aedca1..c8fbe8de 100644
--- a/core/macros.inc
+++ b/core/macros.inc
@@ -31,6 +31,11 @@
%endif
%ifdef IS_PXELINUX
%define MY_NAME 'PXELINUX'
+ %if IS_LPXELINUX > 0
+ %define MY_TYPE 'lwIP'
+ %else
+ %define MY_TYPE 'PXE'
+ %endif
%else
%define IS_PXELINUX 0
%endif
diff --git a/core/pxelinux.asm b/core/pxelinux.asm
index 9d7156cd..2c9b9f86 100644
--- a/core/pxelinux.asm
+++ b/core/pxelinux.asm
@@ -562,13 +562,14 @@ pxe_file_exit_hook:
section .data16
global copyright_str, syslinux_banner
-copyright_str db ' Copyright (C) 1994-'
+copyright_str db 'Copyright (C) 1994-'
asciidec YEAR
db ' H. Peter Anvin et al', CR, LF, 0
err_bootfailed db CR, LF, 'Boot failed: press a key to retry, or wait for reset...', CR, LF, 0
bailmsg equ err_bootfailed
localboot_msg db 'Booting from local disk...', CR, LF, 0
-syslinux_banner db CR, LF, MY_NAME, ' ', VERSION_STR, ' ', DATE_STR, ' ', 0
+syslinux_banner db CR, LF, MY_NAME, ' ', VERSION_STR, ' ', MY_TYPE, ' '
+ db DATE_STR, ' ', 0
;
; Misc initialized (data) variables