2000-01-27 21:21:01 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
MAINTAINER=jhb@FreeBSD.org
|
|
|
|
|
2000-03-28 01:19:53 +00:00
|
|
|
ORG= 0x7c00
|
2000-01-27 21:21:01 +00:00
|
|
|
|
2001-11-04 03:24:16 +00:00
|
|
|
PROG= cdboot
|
2000-03-28 01:19:53 +00:00
|
|
|
NOMAN=
|
|
|
|
STRIP=
|
|
|
|
BINDIR?= /boot
|
2000-01-27 21:21:01 +00:00
|
|
|
|
2001-11-04 03:24:16 +00:00
|
|
|
${PROG}: ${PROG}.o
|
|
|
|
${LD} -N -e start -Ttext ${ORG} -o ${PROG}.out ${PROG}.o
|
|
|
|
objcopy -S -O binary ${PROG}.out ${.TARGET}
|
2000-01-27 21:21:01 +00:00
|
|
|
|
2001-11-04 03:24:16 +00:00
|
|
|
CLEANFILES+= ${PROG}.o ${PROG}.out
|
2000-01-27 21:21:01 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|