summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/conf
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/loongson/conf
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/loongson/conf')
-rw-r--r--sys/arch/loongson/conf/Makefile.loongson5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/loongson/conf/Makefile.loongson b/sys/arch/loongson/conf/Makefile.loongson
index e8b6c5f448e..de92e1c7504 100644
--- a/sys/arch/loongson/conf/Makefile.loongson
+++ b/sys/arch/loongson/conf/Makefile.loongson
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.loongson,v 1.22 2010/05/25 02:35:02 deraadt Exp $
+# $OpenBSD: Makefile.loongson,v 1.23 2010/05/25 15:05:01 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -157,7 +157,8 @@ 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}
+cache_loongson2.o context.o cp0access.o exception.o: assym.h
+fp.o lcore_access.o lcore_float.o tlbhandler.o lcore_ddb.o pmon32.o: assym.h
# The install target can be redefined by putting a
# install-kernel-${MACHINE_NAME} target into /etc/mk.conf