summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/conf/Makefile.octeon
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-09-28 16:16:35 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-09-28 16:16:35 +0000
commit25eb07918a1a4b7505e9d3227f38b971eda21160 (patch)
tree8a7b5a3fc8ea4cfaf2bcacff9c0d3358ff9c7517 /sys/arch/octeon/conf/Makefile.octeon
parent96492d9ddd9680e3cc078bc1c8da8434c1ae7b7b (diff)
When option DDB_STRUCTINFO was removed from the kernel, too much from
the kernel makefiles was removed which lead to C files not being re- compiled when a dependency changed. This can lead to panics in odd places and generally a broken system. ok deraadt@
Diffstat (limited to 'sys/arch/octeon/conf/Makefile.octeon')
-rw-r--r--sys/arch/octeon/conf/Makefile.octeon13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/arch/octeon/conf/Makefile.octeon b/sys/arch/octeon/conf/Makefile.octeon
index 875e7111aee..b9b5989580b 100644
--- a/sys/arch/octeon/conf/Makefile.octeon
+++ b/sys/arch/octeon/conf/Makefile.octeon
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.octeon,v 1.46 2017/09/12 08:23:42 mpi Exp $
+# $OpenBSD: Makefile.octeon,v 1.47 2017/09/28 16:16:34 patrick Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -161,4 +161,15 @@ newinstall:
install: update-link newinstall
+# pull in the dependency information
+.ifnmake clean
+. for o in ${SYSTEM_OBJ:Ngap.o} assym.h
+. if exists(${o:R}.d)
+. include "${o:R}.d"
+. elif exists($o)
+ .PHONY: $o
+. endif
+. endfor
+.endif
+
%RULES