aboutsummaryrefslogtreecommitdiffstats
path: root/parseconfig.inc
diff options
context:
space:
mode:
Diffstat (limited to 'parseconfig.inc')
-rw-r--r--parseconfig.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/parseconfig.inc b/parseconfig.inc
index 90c1f3c9..2ef9c3a2 100644
--- a/parseconfig.inc
+++ b/parseconfig.inc
@@ -81,7 +81,8 @@ pc_ipappend: call getint
;
; "localboot" command (PXELINUX, ISOLINUX)
;
-%if IS_PXELINUX || IS_ISOLINUX
+%if HAS_LOCALBOOT
+
pc_localboot: call getint
cmp byte [VKernel],0 ; ("label" section only)
je .err
@@ -97,7 +98,8 @@ pc_localboot: call getint
mov [VKernelBuf+vk_rname+1], bx ; Return type
%endif
.err: ret
-%endif
+
+%endif ; HAS_LOCALBOOT
;
; "kernel", "config", ... command