Add a new release variable, AUTO_KEYBOARD_DETECT. If you set it to
1, the -P flag is used on the boot floppies. If not, don't. The new default is to not use it.
This commit is contained in:
parent
7cadc2663e
commit
ce51a9fcf9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61236
@ -58,6 +58,10 @@ ALLLANG?= yes
|
|||||||
DOCPORTS= textproc/docproj
|
DOCPORTS= textproc/docproj
|
||||||
# Set this to wherever the distfiles required by ${DOCPORTS} live.
|
# Set this to wherever the distfiles required by ${DOCPORTS} live.
|
||||||
DOCDISTFILES?= ${.CURDIR}/../../ports/distfiles
|
DOCDISTFILES?= ${.CURDIR}/../../ports/distfiles
|
||||||
|
# Set this to 1 if you want -P to be used for automatic keyboard detection
|
||||||
|
# on the boot floppy. WARNING: Breaks on some Athlon (K7) motherboards.
|
||||||
|
AUTO_KEYBOARD_DETECT?= 0
|
||||||
|
|
||||||
|
|
||||||
DIST_DOCS= ABOUT.TXT ERRATA.TXT LAYOUT.TXT README.TXT HARDWARE.TXT \
|
DIST_DOCS= ABOUT.TXT ERRATA.TXT LAYOUT.TXT README.TXT HARDWARE.TXT \
|
||||||
RELNOTES.TXT TROUBLE.TXT UPGRADE.TXT INSTALL.TXT
|
RELNOTES.TXT TROUBLE.TXT UPGRADE.TXT INSTALL.TXT
|
||||||
@ -771,7 +775,7 @@ doMFSKERN:
|
|||||||
@echo "echo \\007\\007" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
@echo "echo \\007\\007" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||||
@echo "autoboot 10" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
@echo "autoboot 10" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||||
@touch ${RD}/image.${FSIMAGE}/boot/loader.config
|
@touch ${RD}/image.${FSIMAGE}/boot/loader.config
|
||||||
.if ${MACHINE_ARCH} == "i386"
|
.if ${MACHINE_ARCH} == "i386" && ${AUTO_KEYBOARD_DETECT}
|
||||||
@echo "-P" >> ${RD}/image.${FSIMAGE}/boot.config
|
@echo "-P" >> ${RD}/image.${FSIMAGE}/boot.config
|
||||||
.endif
|
.endif
|
||||||
.if defined(BIGBOOT)
|
.if defined(BIGBOOT)
|
||||||
|
Loading…
Reference in New Issue
Block a user