Module Name: src
Committed By: uebayasi
Date: Sun Aug 23 01:30:21 UTC 2015
Modified Files:
src/usr.bin/config: TODO
Log Message:
TODOs about kernel options.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 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.19 src/usr.bin/config/TODO:1.20
--- src/usr.bin/config/TODO:1.19 Sat Aug 22 14:47:05 2015
+++ src/usr.bin/config/TODO Sun Aug 23 01:30:21 2015
@@ -349,3 +349,19 @@ o Enhance ioconf behavior for pseudo-dev
manually "attach" them, one at a time. This leads to duplication of
code (where multiple drivers contain the same basic logic), and doesn't
necessarily handle all of the "frobbing" of the kernel lists.
+
+o Disallow unknown options.
+
+ Don't accept options that are not defined as either defflag or defparam.
+ Report them and exit. Don't set ${IDENT} in the generated Makefile.
+
+o Convert ${DIAGNOSTIC} and ${DEBUG} as flags (defflag).
+
+ Probably generate opt_diagnostic.h/opt_debug.h and include them in
+ sys/param.h.
+
+o Strictly define DIAGNOSTIC.
+
+ It is possible to make DIAGNOSTIC kernel and modules binary-compatible with
+ non-DIAGNOSTIC ones. In that case, debug type informations should match
+ theoretically (not confirmed).