summaryrefslogtreecommitdiff
path: root/sys/arch/gumstix
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-25 15:05:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-25 15:05:03 +0000
commitb261ad7a1ab784a63092100f5c91cd8bf4366cfb (patch)
tree1ebc0d517ff03bba0dde046ddbdc0b0b61932ffd /sys/arch/gumstix
parentb2e8a3e865d2c167cffb8a01763060257cb88026 (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/gumstix')
-rw-r--r--sys/arch/gumstix/conf/Makefile.gumstix9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/gumstix/conf/Makefile.gumstix b/sys/arch/gumstix/conf/Makefile.gumstix
index c09111ee95d..56eab669289 100644
--- a/sys/arch/gumstix/conf/Makefile.gumstix
+++ b/sys/arch/gumstix/conf/Makefile.gumstix
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.gumstix,v 1.23 2010/05/25 02:35:02 deraadt Exp $
+# $OpenBSD: Makefile.gumstix,v 1.24 2010/05/25 15:05:00 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