1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Add the pc98boot image which concatenates boot0 and boot0.5.

It's required by the gpart to write bootcode.
This commit is contained in:
Yoshihiro Takahashi 2011-02-11 13:14:17 +00:00
parent 6c9b00e11f
commit 1033bb5394
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218557
2 changed files with 18 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# $FreeBSD$
SUBDIR= btx boot0 boot0.5 boot2 cdboot kgzldr libpc98 loader
SUBDIR= boot0 boot0.5 pc98boot btx boot2 cdboot kgzldr libpc98 loader
.include <bsd.subdir.mk>

View File

@ -0,0 +1,17 @@
# $FreeBSD$
FILES= ${BOOT}
SRCS= ${BOOT0} ${BOOT05}
CLEANFILES= ${BOOT} ${BOOT}.part
BOOT= pc98boot
BOOT0= ${.CURDIR}/../boot0/boot0
BOOT05= ${.CURDIR}/../boot0.5/boot0.5
${BOOT}: ${SRCS} ${BOOT}.part
cat ${BOOT0} ${BOOT}.part ${BOOT05} > ${.TARGET}
${BOOT}.part:
dd if=/dev/zero of=${.TARGET} bs=512 count=1
.include <bsd.prog.mk>