summaryrefslogtreecommitdiff
path: root/sys/arch/socppc
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/socppc
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/socppc')
-rw-r--r--sys/arch/socppc/conf/Makefile.socppc7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/socppc/conf/Makefile.socppc b/sys/arch/socppc/conf/Makefile.socppc
index f91f324acda..52a3c373ad4 100644
--- a/sys/arch/socppc/conf/Makefile.socppc
+++ b/sys/arch/socppc/conf/Makefile.socppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.socppc,v 1.29 2010/12/02 20:57:08 deraadt Exp $
+# $OpenBSD: Makefile.socppc,v 1.30 2010/12/30 18:49:31 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -91,9 +91,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