summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/conf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-12-30 18:49:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-12-30 18:49:32 +0000
commitb1892a0c0aeb2181513e0b8d1f0a7f04d1b205cf (patch)
tree3d0fba5695eaad717e4a2c3062bf4c05d7039a58 /sys/arch/sparc/conf
parent96e4193cd694a6b6f90be14b0fe6871b1958028d (diff)
If genassym fails, sort on the pipeline will indicate no error resulting
in some grief. Split this out. From Vladimir Kirillov
Diffstat (limited to 'sys/arch/sparc/conf')
-rw-r--r--sys/arch/sparc/conf/Makefile.sparc7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc
index b440048e17e..2165a805a78 100644
--- a/sys/arch/sparc/conf/Makefile.sparc
+++ b/sys/arch/sparc/conf/Makefile.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc,v 1.68 2010/12/02 20:57:08 deraadt Exp $
+# $OpenBSD: Makefile.sparc,v 1.69 2010/12/30 18:49:31 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -94,9 +94,8 @@ LINKFLAGS+= -S -x
assym.h: $S/kern/genassym.sh Makefile \
${_archdir}/${_arch}/genassym.cf ${_machdir}/${_mach}/genassym.cf
cat ${_archdir}/${_arch}/genassym.cf ${_machdir}/${_mach}/genassym.cf | \
- sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} | \
- sort -u > assym.h.tmp && \
- mv -f assym.h.tmp assym.h
+ sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} > assym.h.tmp
+ sort -u assym.h.tmp > assym.h
param.c: $S/conf/param.c
rm -f param.c