svn commit: r218557 - in head/sys/boot/pc98: . pc98boot
Takahashi Yoshihiro
nyan at FreeBSD.org
Fri Feb 11 13:14:17 UTC 2011
Author: nyan
Date: Fri Feb 11 13:14:17 2011
New Revision: 218557
URL: http://svn.freebsd.org/changeset/base/218557
Log:
Add the pc98boot image which concatenates boot0 and boot0.5.
It's required by the gpart to write bootcode.
Added:
head/sys/boot/pc98/pc98boot/
head/sys/boot/pc98/pc98boot/Makefile (contents, props changed)
Modified:
head/sys/boot/pc98/Makefile
Modified: head/sys/boot/pc98/Makefile
==============================================================================
--- head/sys/boot/pc98/Makefile Fri Feb 11 13:05:15 2011 (r218556)
+++ head/sys/boot/pc98/Makefile Fri Feb 11 13:14:17 2011 (r218557)
@@ -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>
Added: head/sys/boot/pc98/pc98boot/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/boot/pc98/pc98boot/Makefile Fri Feb 11 13:14:17 2011 (r218557)
@@ -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>
More information about the svn-src-head
mailing list