summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-11-11 16:32:49 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-11-11 16:32:49 +0000
commit2e4714f29daba0dc9c630fb5509084b5bff0dd01 (patch)
treee339442ca87f03ce150d79976fa035162c7d99a4 /sys/lib
parent6c09584fda9434892e88f00290ba630b9ac39329 (diff)
powerpc uses memset for bzero, do this for profiled version also.
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libkern/arch/powerpc/Makefile.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/lib/libkern/arch/powerpc/Makefile.inc b/sys/lib/libkern/arch/powerpc/Makefile.inc
index a102894c6ab..d4044794977 100644
--- a/sys/lib/libkern/arch/powerpc/Makefile.inc
+++ b/sys/lib/libkern/arch/powerpc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.8 2001/07/09 04:24:29 mickey Exp $
+# $OpenBSD: Makefile.inc,v 1.9 2002/11/11 16:32:48 drahn Exp $
# $NetBSD: Makefile.inc,v 1.6 1994/10/26 06:39:03 cgd Exp $
CFLAGS += -D_KERNEL
@@ -23,3 +23,9 @@ bzero.o: ${KERNDIR}/memset.c
@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
+bzero.po: ${KERNDIR}/memset.c
+ @echo "${COMPILE.c} -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}"
+ @${COMPILE.c} -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+