diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-05-24 17:49:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-05-24 17:49:38 +0000 |
commit | f497e7b6095b11027348a018c16049554af08691 (patch) | |
tree | b3c046a08a011c3b5603b011e86436afc40300a0 /sys/arch/hppa64/conf | |
parent | 2e53b7a4897dca84ba624c69f6402de1f8ecd740 (diff) |
Unify the dependency time check for whether an architecture has SFILES
Diffstat (limited to 'sys/arch/hppa64/conf')
-rw-r--r-- | sys/arch/hppa64/conf/Makefile.hppa64 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa64/conf/Makefile.hppa64 b/sys/arch/hppa64/conf/Makefile.hppa64 index ad1ef3d5cc9..2b649a10e24 100644 --- a/sys/arch/hppa64/conf/Makefile.hppa64 +++ b/sys/arch/hppa64/conf/Makefile.hppa64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.hppa64,v 1.26 2010/05/24 14:59:15 deraadt Exp $ +# $OpenBSD: Makefile.hppa64,v 1.27 2010/05/24 17:49:37 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -142,9 +142,9 @@ depend:: .depend .depend: ${SRCS} assym.h param.c ${DB_STRUCTINFO} ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${_machdir}/${_mach}/locore.S ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} - -if test -n "${SFILES}"; then \ - ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}; \ - fi +.if !empty(SFILES) + ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES} +.endif cat ${_archdir}/${_arch}/genassym.cf ${_machdir}/${_mach}/genassym.cf | \ sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} ${CPPFLAGS} @sed -e 's/.*\.o: /assym.h: /' -e 's/\/tmp\/genassym_c.[^ ]*//' \ |