summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-10-12 14:00:03 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-10-12 14:00:03 +0000
commitedac74b98ea452a953e2d8ef01bc7e73d3f98807 (patch)
tree4de98bcfdae3bb99384935cc95691ab68c2a33de /sys/arch/amd64/stand
parent832a9c1f8620d389cbe8862c2dd189b3b4061542 (diff)
Build a 'fdboot' that will be used for floppy disk media. This can be made
smaller than the normal 'boot', however for now it is identical. ok deraadt@
Diffstat (limited to 'sys/arch/amd64/stand')
-rw-r--r--sys/arch/amd64/stand/Makefile4
-rw-r--r--sys/arch/amd64/stand/boot/Makefile8
-rw-r--r--sys/arch/amd64/stand/fdboot/Makefile11
3 files changed, 17 insertions, 6 deletions
diff --git a/sys/arch/amd64/stand/Makefile b/sys/arch/amd64/stand/Makefile
index 2c9dbcd72cd..e40db439909 100644
--- a/sys/arch/amd64/stand/Makefile
+++ b/sys/arch/amd64/stand/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.3 2004/08/21 18:54:59 tom Exp $
+# $OpenBSD: Makefile,v 1.4 2012/10/12 14:00:02 jsing Exp $
.if ${MACHINE} == "amd64"
SUBDIR= etc mbr cdbr
.endif
-SUBDIR+= biosboot installboot boot pxeboot cdboot
+SUBDIR+= biosboot boot cdboot fdboot installboot pxeboot
.include <bsd.subdir.mk>
diff --git a/sys/arch/amd64/stand/boot/Makefile b/sys/arch/amd64/stand/boot/Makefile
index 154be7700eb..2646353ac5c 100644
--- a/sys/arch/amd64/stand/boot/Makefile
+++ b/sys/arch/amd64/stand/boot/Makefile
@@ -1,15 +1,15 @@
-# $OpenBSD: Makefile,v 1.13 2012/10/09 13:55:36 jsing Exp $
+# $OpenBSD: Makefile,v 1.14 2012/10/12 14:00:02 jsing Exp $
.include "${.CURDIR}/../Makefile.inc"
-MAN= boot.8
-MLINKS= boot.8 boot.conf.5
+MAN?= boot.8
+MLINKS?=boot.8 boot.conf.5
.if ${MACHINE} == "amd64"
S =${.CURDIR}/../../../..
SADIR= ${.CURDIR}/..
-PROG= boot
+PROG?= boot
SRCS= srt0.S conf.c
LD?= ld
SIZE?= size
diff --git a/sys/arch/amd64/stand/fdboot/Makefile b/sys/arch/amd64/stand/fdboot/Makefile
new file mode 100644
index 00000000000..ffce0e5c0b9
--- /dev/null
+++ b/sys/arch/amd64/stand/fdboot/Makefile
@@ -0,0 +1,11 @@
+# $OpenBSD: Makefile,v 1.1 2012/10/12 14:00:02 jsing Exp $
+
+PROG= fdboot
+COPTS= -DFDBOOT
+
+MAN=
+MLINKS=
+
+.PATH: ${.CURDIR}/../boot
+
+.include "${.CURDIR}/../boot/Makefile"