summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-07-30 16:36:09 +0000
committermillert <millert@openbsd.org>2005-07-30 16:36:09 +0000
commit736b38a9e4db373dbf186d87ad977c27081e55bf (patch)
tree3fe02d3a9601c2cc62ad4bbbcd98995e6f613190
parentUse the blocksize returned from scsi_size() in preference to all (diff)
downloadwireguard-openbsd-736b38a9e4db373dbf186d87ad977c27081e55bf.tar.xz
wireguard-openbsd-736b38a9e4db373dbf186d87ad977c27081e55bf.zip
Pull in moddi3.c and negdi2.c from libkern since libz needs them.
-rw-r--r--sys/arch/vax/boot/boot/Makefile6
-rw-r--r--sys/arch/vax/stand/boot/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/vax/boot/boot/Makefile b/sys/arch/vax/boot/boot/Makefile
index 72133be5d6d..1999af6e674 100644
--- a/sys/arch/vax/boot/boot/Makefile
+++ b/sys/arch/vax/boot/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2003/08/10 15:51:18 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2005/07/30 16:36:09 millert Exp $
# $NetBSD: Makefile,v 1.27 2002/04/07 07:00:25 matt Exp $
S!= cd ${.CURDIR}/../../../../; pwd
@@ -36,6 +36,10 @@ LIBZ= ${ZLIB}
#.include "${S}/lib/libkern/Makefile.inc"
#LIBKERN=${KERNLIB}
+# Only need these from libkern
+.PATH: ${S}/lib/libkern
+SRCS+= moddi3.c negdi2.c
+
.if ${MACHINE} == "vax"
.PHONY: machine-links
beforedepend: machine-links
diff --git a/sys/arch/vax/stand/boot/Makefile b/sys/arch/vax/stand/boot/Makefile
index 72133be5d6d..1999af6e674 100644
--- a/sys/arch/vax/stand/boot/Makefile
+++ b/sys/arch/vax/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2003/08/10 15:51:18 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2005/07/30 16:36:09 millert Exp $
# $NetBSD: Makefile,v 1.27 2002/04/07 07:00:25 matt Exp $
S!= cd ${.CURDIR}/../../../../; pwd
@@ -36,6 +36,10 @@ LIBZ= ${ZLIB}
#.include "${S}/lib/libkern/Makefile.inc"
#LIBKERN=${KERNLIB}
+# Only need these from libkern
+.PATH: ${S}/lib/libkern
+SRCS+= moddi3.c negdi2.c
+
.if ${MACHINE} == "vax"
.PHONY: machine-links
beforedepend: machine-links