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 /sys/boot/pc98/pc98boot | |
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.
Diffstat (limited to 'sys/boot/pc98/pc98boot')
-rw-r--r-- | sys/boot/pc98/pc98boot/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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> |