Makefile revision 139103
1# $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 139103 2004-12-21 08:47:35Z ru $
2
3PROG=	${BOOT}.out
4INTERNALPROG=
5FILES=	${BOOT}
6NO_MAN=
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