summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-07-30 16:36:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-07-30 16:36:10 +0000
commit62989b4982b1e7c705c620646b1f5266a18b9013 (patch)
treec20f0ec3620df8e88d014f9ea55fe7e85a8c9c51 /sys
parenteba09883ce0bd8f8ab42d958a39975474e754287 (diff)
Pull in moddi3.c and negdi2.c from libkern since libz needs them.
Diffstat (limited to 'sys')
-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