summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
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/alpha
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/alpha')
-rw-r--r--sys/arch/alpha/conf/Makefile.alpha13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha
index 0079f644938..3c0f618f402 100644
--- a/sys/arch/alpha/conf/Makefile.alpha
+++ b/sys/arch/alpha/conf/Makefile.alpha
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.alpha,v 1.108 2017/09/12 08:23:42 mpi Exp $
+# $OpenBSD: Makefile.alpha,v 1.109 2017/09/28 16:16:34 patrick Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -146,4 +146,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