diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-05-25 15:05:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-05-25 15:05:03 +0000 |
commit | b261ad7a1ab784a63092100f5c91cd8bf4366cfb (patch) | |
tree | 1ebc0d517ff03bba0dde046ddbdc0b0b61932ffd /sys/arch/macppc/conf | |
parent | b2e8a3e865d2c167cffb8a01763060257cb88026 (diff) |
Hand-list the two-step assym.h -> .[Ss] -> .o dependencies. The
result: kernels built without 'make depend'-provided information
(ie. the .depend file) are more likely to have their *.[Ss] file
compilations track changes to *.h files.
The "*.o: assym.h" dependencies listed are gotten from reading the
.depend output --- from the biggest kernel possible (ie. GENERIC.MP).
When an architecture changes in a substantial way (new .[sS] files),
the list should be updated in the prettiest way possible.
This is not encouraging people to skip 'make depend'; other issues are
not resolved and may be solved later with a change guenther is working
on. You can still screwed really easily, so continue running make
depend as config tells you.
Idea from a discussion with drahn
ok drahn, kettenis likes the idea too
Diffstat (limited to 'sys/arch/macppc/conf')
-rw-r--r-- | sys/arch/macppc/conf/Makefile.macppc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc index 2266a25180a..762ae38ea0d 100644 --- a/sys/arch/macppc/conf/Makefile.macppc +++ b/sys/arch/macppc/conf/Makefile.macppc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.macppc,v 1.52 2010/05/25 02:35:02 deraadt Exp $ +# $OpenBSD: Makefile.macppc,v 1.53 2010/05/25 15:05:01 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -146,7 +146,7 @@ db_structinfo.h: $S/ddb/db_structinfo.c $S/ddb/parse_structinfo.awk rm -f db_structinfo.o locore.o: ${_machdir}/${_mach}/locore.S assym.h - ${NORMAL_S} +mutex.o: assym.h # The install target can be redefined by putting a # install-kernel-${MACHINE_NAME} target into /etc/mk.conf |