diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-07-07 22:28:19 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-07-07 22:28:19 +0000 |
commit | f12c656eb061dfae11ec275cffd5a3c35c1ab417 (patch) | |
tree | 9b1ee524a39b966b3c4c5e5a314e497851c2c901 /sys/arch/hppa64 | |
parent | 61d38903e804917aaa6f80a1a79e11ede514f776 (diff) |
The drahn memorial bad kernel build fix: prevent blood pressure
spikes in other developers by making it so that removal of a .d
file without removing the corresponding object will result in the
latter being treated as out of date.
ok beck@ art@ drahn@
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r-- | sys/arch/hppa64/conf/Makefile.hppa64 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/hppa64/conf/Makefile.hppa64 b/sys/arch/hppa64/conf/Makefile.hppa64 index 4ebb898b39d..b0dc8f9b721 100644 --- a/sys/arch/hppa64/conf/Makefile.hppa64 +++ b/sys/arch/hppa64/conf/Makefile.hppa64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.hppa64,v 1.39 2011/07/06 02:08:04 tedu Exp $ +# $OpenBSD: Makefile.hppa64,v 1.40 2011/07/07 22:28:18 guenther Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -159,9 +159,11 @@ install-kernel-${MACHINE_NAME}: ${SYSTEM_OBJ}: ${DB_STRUCTINFO} .endif .ifnmake clean -. for o in ${SYSTEM_OBJ:.o=.d} assym.d ${DB_STRUCTINFO:.h=.d} -. if exists($o) -. include "$o" +. for o in ${SYSTEM_OBJ} assym.h ${DB_STRUCTINFO} +. if exists(${o:R}.d) +. include "${o:R}.d" +. elif exists($o) + .PHONY: $o . endif . endfor .endif |