diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-05-24 19:58:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-05-24 19:58:52 +0000 |
commit | 6409b7640d63ebb55d873d5058be79c89d2d43e1 (patch) | |
tree | 94fb58aeab10233d990519b30ea7996f8b24e28f /sys/arch/luna88k/conf | |
parent | 49b5adfc721f2352da36b1712b074f23673649ba (diff) |
use the same idiom for stripping gdb kernels. This relies on strip -o
support for the non-binutils architectures (and that diff is coming..)
Diffstat (limited to 'sys/arch/luna88k/conf')
-rw-r--r-- | sys/arch/luna88k/conf/Makefile.luna88k | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/luna88k/conf/Makefile.luna88k b/sys/arch/luna88k/conf/Makefile.luna88k index 77f7e1374d4..3c96e4d3421 100644 --- a/sys/arch/luna88k/conf/Makefile.luna88k +++ b/sys/arch/luna88k/conf/Makefile.luna88k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.luna88k,v 1.29 2010/05/24 14:59:16 deraadt Exp $ +# $OpenBSD: Makefile.luna88k,v 1.30 2010/05/24 19:58:51 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -85,8 +85,9 @@ DEBUG?= .if ${DEBUG} == "-g" LINKFLAGS+= -X SYSTEM_LD_TAIL+=; \ - echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ - echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ + echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \ + echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \ + ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb .else LINKFLAGS+= -x .endif |