Instead of defining TERSE_ERROR by default (due to space constraints),
define NO_LBA_CHECK. bootxx_msdos still needs TERSE_ERROR because its BPB is larger than the default.
This commit is contained in:
parent
912235966a
commit
e076c47767
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile.bootxx,v 1.11 2003/10/09 10:29:39 dsl Exp $
|
# $NetBSD: Makefile.bootxx,v 1.12 2003/10/13 06:15:00 lukem Exp $
|
||||||
|
|
||||||
S= ${.CURDIR}/../../../../../
|
S= ${.CURDIR}/../../../../../
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ CPPFLAGS+= -DFS=${FS}
|
||||||
# Make sure we override any optimization options specified by the user
|
# Make sure we override any optimization options specified by the user
|
||||||
COPTS= -Os
|
COPTS= -Os
|
||||||
|
|
||||||
CPPFLAGS+= -DTERSE_ERROR
|
CPPFLAGS+= -DNO_LBA_CHECK
|
||||||
|
|
||||||
.if ${MACHINE} == "amd64"
|
.if ${MACHINE} == "amd64"
|
||||||
LD+= -m elf_i386
|
LD+= -m elf_i386
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# $NetBSD: Makefile,v 1.1 2003/10/08 04:25:45 lukem Exp $
|
# $NetBSD: Makefile,v 1.2 2003/10/13 06:15:00 lukem Exp $
|
||||||
|
|
||||||
PROG= bootxx_msdos
|
PROG= bootxx_msdos
|
||||||
FS= dosfs
|
FS= dosfs
|
||||||
CPPFLAGS=-DBOOT_FROM_FAT
|
CPPFLAGS=-DBOOT_FROM_FAT -DTERSE_ERROR
|
||||||
|
|
||||||
.include <../Makefile.bootxx>
|
.include <../Makefile.bootxx>
|
||||||
|
|
Loading…
Reference in New Issue