freebsd-skq/sys/boot/pc98/boot0/Makefile
KATO Takenori e9b13dd6ec Added PC-98 HDD boot manager. The boot0 is the `IPL' which occupies
sector 0 of a disk and boot0.5 is the `boot selector' which starts
from address 0x400.  The IPL loads boot0.5 and boot0.5 loads bootblock
of a slice.

The boot manager stuff was developed by me (kato) with Borland C++,
and then, translated into bcc in the ports collection by Nokubi-san.
After that, boot0 has been translated into gas with the .code16
directive by Takahashi-san (nyan) and boot0.5 has been rewritten in
gas by me.
2000-08-02 08:46:08 +00:00

21 lines
281 B
Makefile

# $FreeBSD$
PROG= boot0
OBJS= boot0.o
NOMAN=
STRIP=
BINDIR?= /boot
BINMODE= 444
ORG= 0x0000
boot0: boot0.out
objcopy -S -O binary boot0.out ${.TARGET}
boot0.out: ${OBJS}
${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${OBJS}
CLEANFILES+= boot0.out
.include <bsd.prog.mk>