summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2011-07-08 08:49:54 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2011-07-08 08:49:54 +0000
commitdb08ca423bf18b5dd2072b473b4502a3919d5e64 (patch)
tree31e2b731194bbbe815718f967bed1569492093a3 /sys/arch/macppc
parent0862b1eef08fddca9627bed690963cd6d39f139e (diff)
Unbreak macppc bootloader due to libz changes.
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/stand/boot.mac/Makefile3
-rw-r--r--sys/arch/macppc/stand/ofwboot/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/macppc/stand/boot.mac/Makefile b/sys/arch/macppc/stand/boot.mac/Makefile
index b355ec6c4d0..1028decc9e0 100644
--- a/sys/arch/macppc/stand/boot.mac/Makefile
+++ b/sys/arch/macppc/stand/boot.mac/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2007/11/25 18:25:32 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 2011/07/08 08:49:53 drahn Exp $
# $NetBSD: Makefile,v 1.1 1996/09/30 16:35:05 ws Exp $
S= ${.CURDIR}/../../../..
@@ -22,6 +22,7 @@ LDFLAGS= -X -Ttext ${RELOC} -e $(ENTRY) -T ${.CURDIR}/elf32_powerpc_merge.x -Bst
.PATH: ${S}/lib/libkern/arch/powerpc ${S}/lib/libkern
SRCS+= strlcpy.c memcpy.c strlen.c strrchr.c strlcat.c ashrdi3.c
+SRCS+= moddi3.c
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+= -DRELOC=0x${RELOC} -DCONSPEED=57600
diff --git a/sys/arch/macppc/stand/ofwboot/Makefile b/sys/arch/macppc/stand/ofwboot/Makefile
index b9c49aed2ef..f477d654a0d 100644
--- a/sys/arch/macppc/stand/ofwboot/Makefile
+++ b/sys/arch/macppc/stand/ofwboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2007/11/25 18:25:32 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2011/07/08 08:49:53 drahn Exp $
# $NetBSD: Makefile,v 1.2 1997/04/17 07:46:24 thorpej Exp $
S= ${.CURDIR}/../../../..
@@ -22,6 +22,7 @@ BINDIR= /usr/mdec
.PATH: ${S}/lib/libkern/arch/powerpc ${S}/lib/libkern
SRCS+= strlcpy.c memcpy.c strlen.c strrchr.c strlcat.c ashrdi3.c
+SRCS+= moddi3.c
NEWVERSWHAT= "OpenFirmware Boot"