Module Name: src
Committed By: uebayasi
Date: Fri Aug 28 01:01:57 UTC 2015
Modified Files:
src/usr.bin/config: TODO
Log Message:
+ suffix rules
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/config/TODO
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/config/TODO
diff -u src/usr.bin/config/TODO:1.24 src/usr.bin/config/TODO:1.25
--- src/usr.bin/config/TODO:1.24 Thu Aug 27 10:22:12 2015
+++ src/usr.bin/config/TODO Fri Aug 28 01:01:57 2015
@@ -405,6 +405,22 @@ o Strictly define DIAGNOSTIC.
non-DIAGNOSTIC ones. In that case, debug type informations should match
theoretically (not confirmed).
+o Use suffix rules.
+
+ Build objects following suffix rules. Source files are defined as relative to
+ $S (e.g. sys/kern/init_main.c) and objects are generated in the corresponding
+ subdirectories under kernel build directories (e.g.
+ .../compile/GENERIC/sys/kern/init_main.o). Dig subdirectories from within
+ config(1).
+
+ Debugging (-g) and profiling (-pg) objects could be generated with *.go/*.po
+ suffixes as userland libraries do. Maybe something similar for
+ DIAGNOSTIC/DEBUG.
+
+ genassym(1) definitions will be split into per-source instead of the single
+ assym.h. Dependencies are corrected and some of misterious dependencies on
+ `Makefile' in sys/conf/Makefile.kern.inc can go away.
+
o Define genassym(1) symbols per file.
Have each file define symbols that have to be generated by genassym(1) so