summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/conf
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/arm64/conf
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/arm64/conf')
-rw-r--r--sys/arch/arm64/conf/Makefile.arm6413
1 files changed, 12 insertions, 1 deletions
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