215a3a5491
Check the first partition type in devopen(), and if it is of type FS_RAID, add 64 to blkdev_part_offset. NOTE: This brings the size of the alpha first-stage bootblocks up to close to the maximum. RAID1 support is controlled by the BOOTXX_RAID1_SUPPORT define, and is easy to disable if size becomes an issue.
14 lines
316 B
Makefile
14 lines
316 B
Makefile
# $NetBSD: Makefile,v 1.2 2000/09/26 05:13:37 simonb Exp $
|
|
|
|
PROG = bootxx_lfs
|
|
CPPFLAGS += -DLIBSA_SINGLE_FILESYSTEM=lfs \
|
|
-DBOOTXX_FS_NAME='"LFS"' \
|
|
-DBOOTXX_RAID1_SUPPORT \
|
|
-DNO_GETCHAR
|
|
|
|
# not yet desired: -DBOOTXX_FS_TYPE=FS_BSDLFS
|
|
|
|
PRIMARY_MAX_LOAD!= expr 8192 - 512
|
|
|
|
.include "../Makefile.bootxx"
|