1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1999-05-24 22:36:24 +00:00
|
|
|
|
2004-04-28 21:31:21 +00:00
|
|
|
PROG= mbr
|
|
|
|
STRIP=
|
|
|
|
BINMODE=${NOBINMODE}
|
2004-12-21 08:47:35 +00:00
|
|
|
NO_MAN=
|
2004-04-28 21:31:21 +00:00
|
|
|
SRCS= ${PROG}.s
|
1999-05-24 22:36:24 +00:00
|
|
|
|
2004-08-28 08:39:35 +00:00
|
|
|
# MBR flags: 0x80 -- try packet interface (also known as EDD or LBA)
|
|
|
|
BOOT_MBR_FLAGS?= 0x80
|
|
|
|
|
1999-05-24 22:36:24 +00:00
|
|
|
ORG= 0x600
|
|
|
|
|
2004-08-28 08:39:35 +00:00
|
|
|
AFLAGS+=--defsym FLAGS=${BOOT_MBR_FLAGS}
|
2010-06-03 17:42:32 +00:00
|
|
|
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
|
1999-05-24 22:36:24 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|