diff options
Diffstat (limited to 'sys/arch/amd64/conf/Makefile.amd64')
-rw-r--r-- | sys/arch/amd64/conf/Makefile.amd64 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64 index 9e3c00e822d..f47d9f66cef 100644 --- a/sys/arch/amd64/conf/Makefile.amd64 +++ b/sys/arch/amd64/conf/Makefile.amd64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.amd64,v 1.36 2010/05/24 14:59:15 deraadt Exp $ +# $OpenBSD: Makefile.amd64,v 1.37 2010/05/24 17:49:37 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -144,7 +144,9 @@ depend:: .depend .depend: ${SRCS} assym.h param.c ${DB_STRUCTINFO} ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${AFILES} ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} +.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.[^ ]*//' \ |