From 7f2b1ea3d6a1d73c6f9c1ffc39efc52adbb8b491 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 29 Jun 2000 16:30:27 +0000 Subject: fix building bzero out of memset.c; from miod@ (that makefile:kerndir fix was needed to build the kernel ;) --- sys/lib/libkern/arch/hppa/Makefile.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/lib') diff --git a/sys/lib/libkern/arch/hppa/Makefile.inc b/sys/lib/libkern/arch/hppa/Makefile.inc index 10a8edd6f43..4e344d184f3 100644 --- a/sys/lib/libkern/arch/hppa/Makefile.inc +++ b/sys/lib/libkern/arch/hppa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.9 2000/06/16 19:56:54 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.10 2000/06/29 16:30:26 mickey Exp $ SRCS+= __main.c imax.c imin.c lmax.c lmin.c max.c min.c ulmax.c ulmin.c \ random.c ashrdi3.c divdi3.c strncpy.c strncmp.c strcmp.c memchr.c \ @@ -11,9 +11,9 @@ OBJS+= bzero.o SRCS+= bcopy.S spcopy.S CLEANFILES+= bcopy.S spcopy.S bzero.o -bzero.o: ${.CURDIR}/memset.c - @echo "${COMPILE.c} -DBZERO ${.CURDIR}/memset.c -o ${.TARGET}" - @${COMPILE.c} -DBZERO ${.CURDIR}/memset.c -o ${.TARGET}.o +bzero.o: ${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 -- cgit v1.2.3