1# $FreeBSD$
2
3PROG=	${BOOT}.out
4INTERNALPROG=
5FILES=	${BOOT}
6MAN=
7SRCS=	${BOOT}.s
8CLEANFILES= ${BOOT}
9
10BOOT=	boot0
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=-e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-N
17
18${BOOT}: ${BOOT}.out
19	${OBJCOPY} -S -O binary ${BOOT}.out ${.TARGET}
20
21.include <bsd.prog.mk>
22