boot1: remove BOOT1_MAXSIZE default value
This Makefile relies on Makefile.fat providing the correct value for BOOT1_MAXSIZE and BOOT1_OFFSET. Since BOOT1_OFFSET had no default value here the build would already fail if Makefile.fat did not provide correct values. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
970165f190
commit
e9346a94d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323436
@ -32,7 +32,7 @@ fi
|
||||
|
||||
echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab
|
||||
echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
|
||||
makefs -B little -o label=FreeBSD_Install ${2}.part ${1}
|
||||
makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
|
||||
rm ${1}/etc/fstab
|
||||
rm ${1}/etc/rc.conf.local
|
||||
|
||||
|
@ -32,7 +32,7 @@ fi
|
||||
|
||||
echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab
|
||||
echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
|
||||
makefs -B little -o label=FreeBSD_Install ${2}.part ${1}
|
||||
makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
|
||||
rm ${1}/etc/fstab
|
||||
rm ${1}/etc/rc.conf.local
|
||||
|
||||
|
@ -32,7 +32,7 @@ fi
|
||||
|
||||
echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab
|
||||
echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
|
||||
makefs -B little -o label=FreeBSD_Install ${2}.part ${1}
|
||||
makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
|
||||
rm ${1}/etc/fstab
|
||||
rm ${1}/etc/rc.conf.local
|
||||
|
||||
|
@ -37,7 +37,7 @@ fi
|
||||
echo '/dev/da0s3 / ufs ro,noatime 1 1' > ${1}/etc/fstab
|
||||
echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
|
||||
rm -f ${tempfile}
|
||||
makefs -B big ${tempfile} ${1}
|
||||
makefs -B big -o version=2 ${tempfile} ${1}
|
||||
rm ${1}/etc/fstab
|
||||
rm ${1}/etc/rc.conf.local
|
||||
|
||||
|
@ -126,7 +126,6 @@ boot1.o: ${.CURDIR}/../../common/ufsread.c
|
||||
# created by generate-fat.sh
|
||||
|
||||
.include "${.CURDIR}/Makefile.fat"
|
||||
BOOT1_MAXSIZE?= 131072
|
||||
|
||||
boot1.efifat: boot1.efi
|
||||
@set -- `ls -l ${.ALLSRC}`; \
|
||||
|
Loading…
Reference in New Issue
Block a user