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/arm64/conf/Makefile.arm64 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'sys/arch/arm64/conf') diff --git a/sys/arch/arm64/conf/Makefile.arm64 b/sys/arch/arm64/conf/Makefile.arm64 index 3e5e9d19739..625068da87f 100644 --- a/sys/arch/arm64/conf/Makefile.arm64 +++ b/sys/arch/arm64/conf/Makefile.arm64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.arm64,v 1.22 2017/09/12 08:23:42 mpi Exp $ +# $OpenBSD: Makefile.arm64,v 1.23 2017/09/28 16:16:34 patrick Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -154,6 +154,17 @@ 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 + ## for qemu this is where ram is located RAM_ADDR?=0x40000000 #KERNEL_LOAD_ADDR!=echo "x = hex(${KERNEL_BASE_PHYS} + ${RAM_ADDR}); print x" | python -- cgit v1.2.3