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-02-09 14:11:58 +00:00
|
|
|
NOMAN=
|
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}
|
2004-04-25 20:36:44 +00:00
|
|
|
LDFLAGS=-N -e start -Ttext ${ORG} -Wl,-S,--oformat,binary
|
1999-05-24 22:36:24 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|