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

PROG=	mbr
STRIP=
BINMODE=${NOBINMODE}
NO_MAN=
SRCS=	${PROG}.s

# MBR flags: 0x80 -- try packet interface (also known as EDD or LBA)
BOOT_MBR_FLAGS?=	0x80

ORG=	0x600

AFLAGS+=--defsym FLAGS=${BOOT_MBR_FLAGS}
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary

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