stand: Make BIOS loader size limits settable
It's sometimes desirable to override the size limit: It's a soft limit and there are times we exceed the limit by just a little bit and don't want the build to fail (or we are hitting runtime failures below the 510,000 byte limit). Sponsored by: Netflix
This commit is contained in:
parent
3623222940
commit
7d72ff9057
@ -19,7 +19,7 @@ PROG= ${LOADER}.sym
|
|||||||
INTERNALPROG=
|
INTERNALPROG=
|
||||||
NEWVERSWHAT?= "bootstrap loader" x86
|
NEWVERSWHAT?= "bootstrap loader" x86
|
||||||
VERSION_FILE= ${.CURDIR}/../loader/version
|
VERSION_FILE= ${.CURDIR}/../loader/version
|
||||||
LOADERSIZE= 510000 # Largest known safe size
|
LOADERSIZE?= 510000 # Largest known safe size
|
||||||
|
|
||||||
|
|
||||||
.PATH: ${BOOTSRC}/i386/loader
|
.PATH: ${BOOTSRC}/i386/loader
|
||||||
|
@ -13,7 +13,7 @@ BOOT= pxeboot
|
|||||||
LDR= pxeldr
|
LDR= pxeldr
|
||||||
ORG= 0x7c00
|
ORG= 0x7c00
|
||||||
LOADER= loader
|
LOADER= loader
|
||||||
PXELDRSIZE= 510000 # Largest known safe size
|
PXELDRSIZE?= 510000 # Largest known safe size
|
||||||
|
|
||||||
.if defined(BOOT_PXELDR_PROBE_KEYBOARD)
|
.if defined(BOOT_PXELDR_PROBE_KEYBOARD)
|
||||||
CFLAGS+=-DPROBE_KEYBOARD
|
CFLAGS+=-DPROBE_KEYBOARD
|
||||||
|
Loading…
Reference in New Issue
Block a user