Date: Sat, 13 Mar 2004 12:48:33 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 48911 for review Message-ID: <200403132048.i2DKmXBc042803@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=48911 Change 48911 by peter@peter_overcee on 2004/03/13 12:47:38 change creation of kld's from shared libs to .o files Affected files ... .. //depot/projects/hammer/sys/conf/kmod.mk#21 edit Differences ... ==== //depot/projects/hammer/sys/conf/kmod.mk#21 (text+ko) ==== @@ -138,18 +138,12 @@ ${OBJCOPY} --strip-debug ${FULLPROG} ${PROG} .endif -${FULLPROG}: ${KMOD}.kld - ${LD} -Bshareable ${LDFLAGS} -o ${.TARGET} ${KMOD}.kld -.if !defined(DEBUG_FLAGS) - ${OBJCOPY} --strip-debug ${.TARGET} -.endif - EXPORT_SYMS?= NO .if ${EXPORT_SYMS} != YES CLEANFILES+= ${.OBJDIR}/export_syms .endif -${KMOD}.kld: ${OBJS} +${FULLPROG}: ${OBJS} ${LD} ${LDFLAGS} -r -d -o ${.TARGET} ${OBJS} .if defined(EXPORT_SYMS) .if ${EXPORT_SYMS} != YES @@ -165,6 +159,9 @@ xargs -J% ${OBJCOPY} % ${.TARGET} .endif .endif +.if !defined(DEBUG_FLAGS) + ${OBJCOPY} --strip-debug ${.TARGET} +.endif _ILINKS=@ machine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403132048.i2DKmXBc042803>