summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/stand')
-rw-r--r--sys/arch/amd64/stand/biosboot/Makefile3
-rw-r--r--sys/arch/amd64/stand/boot/Makefile3
-rw-r--r--sys/arch/amd64/stand/mbr/Makefile3
-rw-r--r--sys/arch/amd64/stand/pxeboot/Makefile3
4 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/amd64/stand/biosboot/Makefile b/sys/arch/amd64/stand/biosboot/Makefile
index 37f201d9f77..fd482baa9e2 100644
--- a/sys/arch/amd64/stand/biosboot/Makefile
+++ b/sys/arch/amd64/stand/biosboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2004/02/03 12:09:47 mickey Exp $
+# $OpenBSD: Makefile,v 1.2 2004/05/17 22:49:46 drahn Exp $
MAN= biosboot.8
@@ -7,6 +7,7 @@ PROG= biosboot
SRCS= biosboot.S
LD=ld
LDFLAGS=-melf_i386 -nostdlib -Ttext 0 -N -x -Bstatic
+LDFLAGS+=-L/usr/libdata
INSTALL_STRIP=
SADIR= ${.CURDIR}/..
diff --git a/sys/arch/amd64/stand/boot/Makefile b/sys/arch/amd64/stand/boot/Makefile
index 82eb17fdc51..cebb1bbc5b2 100644
--- a/sys/arch/amd64/stand/boot/Makefile
+++ b/sys/arch/amd64/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2004/02/03 12:09:47 mickey Exp $
+# $OpenBSD: Makefile,v 1.2 2004/05/17 22:49:46 drahn Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -14,6 +14,7 @@ SRCS= srt0.S conf.c
LD?= ld
SIZE?= size
LDFLAGS+=-melf_i386 -nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -noinhibit-exec
+LDFLAGS+=-L/usr/libdata
.PATH: ${SADIR}/libsa
# i386 stuff (so, it will possibly load in the same 64k)
diff --git a/sys/arch/amd64/stand/mbr/Makefile b/sys/arch/amd64/stand/mbr/Makefile
index 670c731871c..7d87a1ccbc9 100644
--- a/sys/arch/amd64/stand/mbr/Makefile
+++ b/sys/arch/amd64/stand/mbr/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2004/02/03 12:09:47 mickey Exp $
+# $OpenBSD: Makefile,v 1.2 2004/05/17 22:49:46 drahn Exp $
#
PROG= mbr
@@ -6,6 +6,7 @@ SRCS= mbr.S
AFLAGS+=-m32 -I${.CURDIR} -I${.CURDIR}/../../.. #-Wa,-a
LD=ld
LDFLAGS=-melf_i386 -nostdlib -Ttext 0 -x -N -s -Bstatic -e start
+LDFLAGS+=-L/usr/libdata
NOMAN=
#MAN+= mbr.8
diff --git a/sys/arch/amd64/stand/pxeboot/Makefile b/sys/arch/amd64/stand/pxeboot/Makefile
index f41cb437009..bbc89667f80 100644
--- a/sys/arch/amd64/stand/pxeboot/Makefile
+++ b/sys/arch/amd64/stand/pxeboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2004/03/21 21:37:41 tom Exp $
+# $OpenBSD: Makefile,v 1.2 2004/05/17 22:49:46 drahn Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -13,6 +13,7 @@ SRCS= srt0.S conf.c devopen.c net.c open.c
LD?= ld
SIZE?= size
LDFLAGS+=-melf_i386 -nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -noinhibit-exec
+LDFLAGS+=-L/usr/libdata
INSTALL_STRIP=
.PATH: ${SADIR}/libsa