summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2005-11-19 00:17:18 +0000
committerdrahn <drahn@openbsd.org>2005-11-19 00:17:18 +0000
commitf8b872a1dc53938849df7427e858bf23cd24c531 (patch)
tree329e6dd5b02ce700b85cb867c0599974a62d6791
parentGet device resources from soundbus node instead of i2s node. This makes sound (diff)
downloadwireguard-openbsd-f8b872a1dc53938849df7427e858bf23cd24c531.tar.xz
wireguard-openbsd-f8b872a1dc53938849df7427e858bf23cd24c531.zip
Only run mkdep on SFILES if there is something in it. pointed out by todd@
-rw-r--r--sys/arch/zaurus/conf/Makefile.zaurus4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/zaurus/conf/Makefile.zaurus b/sys/arch/zaurus/conf/Makefile.zaurus
index 9414a799de8..ed88ca73d31 100644
--- a/sys/arch/zaurus/conf/Makefile.zaurus
+++ b/sys/arch/zaurus/conf/Makefile.zaurus
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.zaurus,v 1.3 2005/05/09 10:04:38 espie Exp $
+# $OpenBSD: Makefile.zaurus,v 1.4 2005/11/19 00:17:18 drahn Exp $
# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $
# Makefile for OpenBSD
@@ -176,7 +176,9 @@ depend:: .depend
.depend: ${SRCS} assym.h param.c ${APMINC}
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${ARM}/arm/locore.S
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
+.if ${SFILES} != ""
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
+.endif
cat ${ARM}/arm/genassym.cf ${ARM}/footbridge/genassym.cf | \
sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
${CPPFLAGS}