3bdf775801
and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
22 lines
396 B
Makefile
22 lines
396 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= ${BOOT}.out
|
|
INTERNALPROG=
|
|
FILES= ${BOOT}
|
|
MAN=
|
|
SRCS= ${BOOT}.s
|
|
CLEANFILES= ${BOOT}
|
|
|
|
BOOT= boot0
|
|
|
|
# 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
|
|
|
|
LDFLAGS=-e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-N
|
|
|
|
${BOOT}: ${BOOT}.out
|
|
objcopy -S -O binary ${BOOT}.out ${.TARGET}
|
|
|
|
.include <bsd.prog.mk>
|