From 6409b7640d63ebb55d873d5058be79c89d2d43e1 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 24 May 2010 19:58:52 +0000 Subject: use the same idiom for stripping gdb kernels. This relies on strip -o support for the non-binutils architectures (and that diff is coming..) --- sys/arch/vax/conf/Makefile.vax | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/vax') diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax index 1d18570ebca..b4b524d9528 100644 --- a/sys/arch/vax/conf/Makefile.vax +++ b/sys/arch/vax/conf/Makefile.vax @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.vax,v 1.49 2010/05/24 17:49:37 deraadt Exp $ +# $OpenBSD: Makefile.vax,v 1.50 2010/05/24 19:58:51 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -81,7 +81,7 @@ DEBUG?= .if ${DEBUG} == "-g" LINKFLAGS+= -X SYSTEM_LD_TAIL+=; \ - echo mv -f $@ $@.gdb; mv -f $@ $@.gdb; \ + echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb .else -- cgit v1.2.3