Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2011 13:14:17 +0000 (UTC)
From:      Takahashi Yoshihiro <nyan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218557 - in head/sys/boot/pc98: . pc98boot
Message-ID:  <201102111314.p1BDEH96060892@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102111314.p1BDEH96060892>