From b1892a0c0aeb2181513e0b8d1f0a7f04d1b205cf Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 30 Dec 2010 18:49:32 +0000 Subject: If genassym fails, sort on the pipeline will indicate no error resulting in some grief. Split this out. From Vladimir Kirillov --- sys/arch/amd64/conf/Makefile.amd64 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/arch/amd64/conf') diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64 index 027b36d1c05..db19bf5f809 100644 --- a/sys/arch/amd64/conf/Makefile.amd64 +++ b/sys/arch/amd64/conf/Makefile.amd64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.amd64,v 1.46 2010/12/02 20:57:07 deraadt Exp $ +# $OpenBSD: Makefile.amd64,v 1.47 2010/12/30 18:49:30 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -92,9 +92,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 -- cgit v1.2.3