diff options
author | nyan <nyan@FreeBSD.org> | 2011-02-11 13:14:17 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2011-02-11 13:14:17 +0000 |
commit | a4ec536f4b94af6d30843234d36e410f985f56b0 (patch) | |
tree | 425768abb775e45b9f9ddadb8ab68aae3c7ecb4b | |
parent | 6866468085b6780402f5b641814a25c5cc2b7a5e (diff) | |
download | FreeBSD-src-a4ec536f4b94af6d30843234d36e410f985f56b0.zip FreeBSD-src-a4ec536f4b94af6d30843234d36e410f985f56b0.tar.gz |
Add the pc98boot image which concatenates boot0 and boot0.5.
It's required by the gpart to write bootcode.
-rw-r--r-- | sys/boot/pc98/Makefile | 2 | ||||
-rw-r--r-- | sys/boot/pc98/pc98boot/Makefile | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/sys/boot/pc98/Makefile b/sys/boot/pc98/Makefile index ca89dbc..e8f9dbf 100644 --- a/sys/boot/pc98/Makefile +++ b/sys/boot/pc98/Makefile @@ -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> diff --git a/sys/boot/pc98/pc98boot/Makefile b/sys/boot/pc98/pc98boot/Makefile new file mode 100644 index 0000000..0e33735 --- /dev/null +++ b/sys/boot/pc98/pc98boot/Makefile @@ -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> |