summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/Makefile
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-07-12 18:08:27 +0000
committerjhb <jhb@FreeBSD.org>2000-07-12 18:08:27 +0000
commit2913657a9794149a1d43420d2ee7df734392da82 (patch)
tree7ef05cf699ae002d65dd1cc4b40589130b3b574c /usr.sbin/sysinstall/Makefile
parentb4c0d6aa68030b0d552c9dc5ca7eb8f0c83657ee (diff)
downloadFreeBSD-src-2913657a9794149a1d43420d2ee7df734392da82.zip
FreeBSD-src-2913657a9794149a1d43420d2ee7df734392da82.tar.gz
- Support MBR boot loaders that are larger than one sector size.
- Axe the 1024 cylinder checks as they are no longer relevant.
Diffstat (limited to 'usr.sbin/sysinstall/Makefile')
-rw-r--r--usr.sbin/sysinstall/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile
index 5bf628c..6620bc0 100644
--- a/usr.sbin/sysinstall/Makefile
+++ b/usr.sbin/sysinstall/Makefile
@@ -60,7 +60,9 @@ makedevs.c: Makefile rtermcap keymap.h
>> makedevs.tmp
.if ${MACHINE} == "i386"
file2c 'u_char boot0[] = {' '};' < /boot/boot0 >> makedevs.tmp
+ echo "size_t boot0_size = sizeof(boot0);" >> makedevs.tmp
file2c 'u_char mbr[] = {' '};' < /boot/mbr >> makedevs.tmp
+ echo "size_t mbr_size = sizeof(mbr);" >> makedevs.tmp
.endif
mv makedevs.tmp makedevs.c
OpenPOWER on IntegriCloud