AMD64 - Fix native-built sys/boot install
[dragonfly.git] / sys / boot / pc32 / cdboot / Makefile
CommitLineData
5ee58eed 1# $FreeBSD: src/sys/boot/i386/cdboot/Makefile,v 1.5 2002/09/17 01:48:55 peter Exp $
28c7b939 2# $DragonFly: src/sys/boot/pc32/cdboot/Makefile,v 1.4 2004/01/31 06:56:42 dillon Exp $
984263bc
MD
3
4ORG= 0x7c00
5
6PROG= cdboot
7NOMAN=
8STRIP=
9BINDIR?= /boot
10
11${PROG}: ${PROG}.o
79b4bbd6 12 ${LD} ${LDFLAGS} -N -e start -Ttext ${ORG} -o ${PROG}.out ${PROG}.o
984263bc 13 objcopy -S -O binary ${PROG}.out ${.TARGET}
984263bc
MD
14
15CLEANFILES+= ${PROG}.o ${PROG}.out
16
17.include <bsd.prog.mk>