diff options
author | 2002-11-11 16:32:48 +0000 | |
---|---|---|
committer | 2002-11-11 16:32:48 +0000 | |
commit | 5a74592b0e9ba2c2729433b2ae5c04b17e39cce4 (patch) | |
tree | cfc73e23832b0f88e9337a8957e6087254190370 /sys/lib/libkern/arch/powerpc | |
parent | Various little pmap changes: (diff) | |
download | wireguard-openbsd-5a74592b0e9ba2c2729433b2ae5c04b17e39cce4.tar.xz wireguard-openbsd-5a74592b0e9ba2c2729433b2ae5c04b17e39cce4.zip |
powerpc uses memset for bzero, do this for profiled version also.
Diffstat (limited to 'sys/lib/libkern/arch/powerpc')
-rw-r--r-- | sys/lib/libkern/arch/powerpc/Makefile.inc | 8 |
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 + |