summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/mbr/Makefile
blob: 7a401119f41d5ad0b85cb6a697ce87e654aa3fde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $FreeBSD$

FILES=	${BOOT}
CLEANFILES= ${BOOT} ${BOOT}.out ${BOOT}.o

BOOT=	mbr
ORG=	0x600

${BOOT}: ${BOOT}.out
	objcopy -S -O binary ${BOOT}.out ${.TARGET}

${BOOT}.out: ${BOOT}.o
	${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${BOOT}.o

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud