Add the pc98boot image which concatenates boot0 and boot0.5.
It's required by the gpart to write bootcode.
This commit is contained in:
parent
6c9b00e11f
commit
1033bb5394
@ -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>
|
||||
|
17
sys/boot/pc98/pc98boot/Makefile
Normal file
17
sys/boot/pc98/pc98boot/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user