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/palm | |
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/palm')
-rw-r--r-- | sys/arch/palm/conf/Makefile.palm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/palm/conf/Makefile.palm b/sys/arch/palm/conf/Makefile.palm index 3c231d277bb..4597e460dc0 100644 --- a/sys/arch/palm/conf/Makefile.palm +++ b/sys/arch/palm/conf/Makefile.palm @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.palm,v 1.20 2010/05/25 02:35:03 deraadt Exp $ +# $OpenBSD: Makefile.palm,v 1.21 2010/05/25 15:05:01 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -151,11 +151,10 @@ db_structinfo.h: $S/ddb/db_structinfo.c $S/ddb/parse_structinfo.awk objdump -g db_structinfo.o | awk -f $S/ddb/parse_structinfo.awk > $@ rm -f db_structinfo.o -${_mach}_start.o: ${_machdir}/${_mach}/${_mach}_start.S assym.h - ${NORMAL_S} - +${_mach}_start.o: ${_machdir}/${_mach}/${_mach}_start.S locore.o: ${_archdir}/${_arch}/locore.S assym.h - ${NORMAL_S} +in_cksum_arm.o fiq_subr.o bcopyinout.o copystr.o sigcode.o: assym.h +vectors.o cpuswitch.o exception.o bcopy_page.o irq_dispatch.o: assym.h # The install target can be redefined by putting a # install-kernel-${MACHINE_NAME} target into /etc/mk.conf |