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