diff options
author | jhb <jhb@FreeBSD.org> | 2000-07-12 18:08:27 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-07-12 18:08:27 +0000 |
commit | 2913657a9794149a1d43420d2ee7df734392da82 (patch) | |
tree | 7ef05cf699ae002d65dd1cc4b40589130b3b574c /usr.sbin/sade/Makefile | |
parent | b4c0d6aa68030b0d552c9dc5ca7eb8f0c83657ee (diff) | |
download | FreeBSD-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/sade/Makefile')
-rw-r--r-- | usr.sbin/sade/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile index 5bf628c..6620bc0 100644 --- a/usr.sbin/sade/Makefile +++ b/usr.sbin/sade/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 |