From 25eb07918a1a4b7505e9d3227f38b971eda21160 Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Thu, 28 Sep 2017 16:16:35 +0000 Subject: 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@ --- sys/arch/octeon/conf/Makefile.octeon | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'sys/arch/octeon/conf/Makefile.octeon') 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 -- cgit v1.2.3