aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2004-08-27 15:01:56 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2004-08-27 15:01:56 +0000
commit9e4211a1b813baec6cf2a3197e5b0c82606a9738 (patch)
tree051ca2a2d1dfa7342cbebdc6acdb1d7da646d740 /sys/boot
parent882bc79a39540cf1418310fecc78cda7acb94866 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/boot2/Makefile4
-rw-r--r--sys/boot/i386/gptboot/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 3e23061df816..4111a35f332a 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -5,7 +5,7 @@ FILES= boot boot1 boot2
NM?= nm
# A value of 0x80 enables LBA support.
-B1FLAGS= 0x80
+BOOT_BOOT1_FLAGS?= 0x80
BOOT_COMCONSOLE_PORT?= 0x3f8
BOOT_COMCONSOLE_SPEED?= 9600
@@ -27,7 +27,7 @@ CFLAGS= -Os \
-mno-align-long-strings \
-mrtd \
-D${BOOT2_UFS} \
- -DFLAGS=${B1FLAGS} \
+ -DFLAGS=${BOOT_BOOT1_FLAGS} \
-DSIOPRT=${BOOT_COMCONSOLE_PORT} \
-DSIOFMT=${B2SIOFMT} \
-DSIOSPD=${BOOT_COMCONSOLE_SPEED} \
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 3e23061df816..4111a35f332a 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -5,7 +5,7 @@ FILES= boot boot1 boot2
NM?= nm
# A value of 0x80 enables LBA support.
-B1FLAGS= 0x80
+BOOT_BOOT1_FLAGS?= 0x80
BOOT_COMCONSOLE_PORT?= 0x3f8
BOOT_COMCONSOLE_SPEED?= 9600
@@ -27,7 +27,7 @@ CFLAGS= -Os \
-mno-align-long-strings \
-mrtd \
-D${BOOT2_UFS} \
- -DFLAGS=${B1FLAGS} \
+ -DFLAGS=${BOOT_BOOT1_FLAGS} \
-DSIOPRT=${BOOT_COMCONSOLE_PORT} \
-DSIOFMT=${B2SIOFMT} \
-DSIOSPD=${BOOT_COMCONSOLE_SPEED} \