Makefile revision 125625
1# $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 125625 2004-02-09 16:01:45Z nyan $
2
3PROG=	${BOOT}.out
4INTERNALPROG=
5FILES=	${BOOT}
6NOMAN=
7SRCS=	start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s
8CLEANFILES= ${BOOT} ${BOOT}.bin
9
10BOOT=	boot0.5
11
12# The base address that we the boot0 code to to run it.  Don't change this
13# unless you are glutton for punishment.
14BOOT_BOOT0_ORG?=	0x0000
15
16LDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG}
17
18# The size of boot0.5 must be 7168 bytes
19${BOOT}: ${BOOT}.bin
20	cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168
21
22${BOOT}.bin: ${BOOT}.out
23	objcopy -S -O binary ${BOOT}.out ${.TARGET}
24
25.include <bsd.prog.mk>
26