summaryrefslogtreecommitdiff
path: root/sys/arch/beagle
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/beagle')
-rw-r--r--sys/arch/beagle/conf/Makefile.beagle10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/beagle/conf/Makefile.beagle b/sys/arch/beagle/conf/Makefile.beagle
index 31e7765cc79..e6f7bd7a851 100644
--- a/sys/arch/beagle/conf/Makefile.beagle
+++ b/sys/arch/beagle/conf/Makefile.beagle
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.beagle,v 1.34 2011/07/06 02:08:04 tedu Exp $
+# $OpenBSD: Makefile.beagle,v 1.35 2011/07/07 22:28:18 guenther Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -165,9 +165,11 @@ install-kernel-${MACHINE_NAME}:
${SYSTEM_OBJ}: ${DB_STRUCTINFO}
.endif
.ifnmake clean
-. for o in ${SYSTEM_OBJ:.o=.d} assym.d ${DB_STRUCTINFO:.h=.d}
-. if exists($o)
-. include "$o"
+. for o in ${SYSTEM_OBJ} assym.h ${DB_STRUCTINFO}
+. if exists(${o:R}.d)
+. include "${o:R}.d"
+. elif exists($o)
+ .PHONY: $o
. endif
. endfor
.endif