2000-08-02 08:46:08 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-02-09 16:01:45 +00:00
|
|
|
PROG= ${BOOT}.out
|
|
|
|
INTERNALPROG=
|
2004-02-07 12:19:44 +00:00
|
|
|
FILES= ${BOOT}
|
2004-12-21 08:47:35 +00:00
|
|
|
NO_MAN=
|
2004-02-09 16:01:45 +00:00
|
|
|
SRCS= ${BOOT}.s
|
|
|
|
CLEANFILES= ${BOOT}
|
2000-08-02 08:46:08 +00:00
|
|
|
|
2004-02-07 12:19:44 +00:00
|
|
|
BOOT= boot0
|
2000-08-02 08:46:08 +00:00
|
|
|
|
2004-02-07 12:19:44 +00:00
|
|
|
# The base address that we the boot0 code to to run it. Don't change this
|
|
|
|
# unless you are glutton for punishment.
|
|
|
|
BOOT_BOOT0_ORG?= 0x0000
|
2000-08-02 08:46:08 +00:00
|
|
|
|
2004-02-09 16:01:45 +00:00
|
|
|
LDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG}
|
|
|
|
|
2004-02-07 12:19:44 +00:00
|
|
|
${BOOT}: ${BOOT}.out
|
|
|
|
objcopy -S -O binary ${BOOT}.out ${.TARGET}
|
2000-08-02 08:46:08 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|