summaryrefslogtreecommitdiffstats
path: root/stand/i386/mbr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stand/i386/mbr/Makefile')
-rw-r--r--stand/i386/mbr/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/stand/i386/mbr/Makefile b/stand/i386/mbr/Makefile
new file mode 100644
index 0000000..9bfa0bd
--- /dev/null
+++ b/stand/i386/mbr/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PROG= mbr
+STRIP=
+BINMODE=${NOBINMODE}
+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+=${LDFLAGS_BIN}
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud