Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config config(1): TODO about namespace (esp. options...
details: https://anonhg.NetBSD.org/src/rev/0d3a39bd8d73
branches: trunk
changeset: 333772:0d3a39bd8d73
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sun Nov 16 07:12:34 2014 +0000
description:
config(1): TODO about namespace (esp. options vs. module)
diffstat:
usr.bin/config/TODO | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r 5275c9ae1ef9 -r 0d3a39bd8d73 usr.bin/config/TODO
--- a/usr.bin/config/TODO Sun Nov 16 07:08:08 2014 +0000
+++ b/usr.bin/config/TODO Sun Nov 16 07:12:34 2014 +0000
@@ -247,3 +247,18 @@
Don't build a whole kernel only to specify root/swap devices.
Make these parameter re-configurable afterwards.
+
+o Namespace.
+
+ Investigate namespace of attributes/modules/options. Figure out the hidden
+ design about these, document it, then re-design it.
+
+ At this moment, all of them share the single "selecttab", which means their
+ namespaces are common, but they also have respective tables (attrtab,
+ opttab, etc.).
+
+ Selecting an option (addoption()), that is also a module name, works only if
+ the module doesn't depend on anything, because addoption() doesn't select
+ module and its dependencies (selectattr()). In other words, an option is
+ only safely converted to a module (define), only if it doesn't depend on
+ anything. (One example is DDB.)
Home |
Main Index |
Thread Index |
Old Index