joerg
e7051a1953
To make -Wconversion happy, cast return value of tolower/toupper to
...
char.
2014-11-04 23:00:35 +00:00
uebayasi
e8a6d4b70c
config(1): Start calling module as module
2014-11-01 14:24:45 +00:00
uebayasi
6c852b2895
config(1): More TODO description.
2014-11-01 14:15:31 +00:00
uebayasi
fe2a50734b
config(1): Don't emit unused empty loc[]
2014-11-01 11:02:41 +00:00
uebayasi
c62ce2631a
config(1): One more TODO about retiring direct attachment
2014-11-01 08:13:11 +00:00
uebayasi
6c283bdad1
config(1): Emit pdevinit[] into .rodata
2014-11-01 07:26:11 +00:00
uebayasi
def3cecb48
config(1): Set NULL to unused cfdata::cf_loc
2014-11-01 06:20:24 +00:00
uebayasi
e1a6328057
config(1): KNF
2014-11-01 04:34:27 +00:00
uebayasi
304be40991
config(1): Better indent of cfdata in ioconf.c
2014-10-31 18:26:06 +00:00
uebayasi
084f527f2d
config(1): KNF generated ioconf.c
2014-10-31 17:58:02 +00:00
uebayasi
374e86cbe4
config(1): Emit only referenced interface attributes in ioconf.c
2014-10-31 17:43:55 +00:00
uebayasi
c42523f496
config(1), config(5): Introduce "select"
...
o Introduce a new selection directive "select" to select an attribute (as a
module) and its dependencies.
o Support "no select" too.
o Stop abusing "options" to select an attribute.
o Bump config(1) version.
2014-10-31 07:38:36 +00:00
wiz
75f5ef0d24
Spelling fixes.
2014-10-30 23:18:02 +00:00
christos
b89e3b087d
remove overflow test that triggered for negative values; we only care
...
about the hash here.
2014-10-30 15:13:11 +00:00
uebayasi
bd3d598f54
config(1): More TODO
2014-10-30 08:20:15 +00:00
christos
5dcabc490b
print more info about the overflow
2014-10-30 01:36:13 +00:00
uebayasi
c5c18c905b
config(1): More TODO items
2014-10-30 01:26:20 +00:00
christos
584127132b
put back scanner warnings now that flex produces clean code.
2014-10-29 19:10:49 +00:00
christos
1ed33bc5b9
cast to signed, since that's all we have.
2014-10-29 19:10:18 +00:00
christos
d12b0036c5
- add RCSID's
...
- fix -Wconversion (except scanner)
2014-10-29 17:14:50 +00:00
uebayasi
023c161bb6
Keep track of attribute (module) dependency using hash2.
2014-10-18 06:36:40 +00:00
uebayasi
1af1e581aa
Revert implicit attribute (module) declaration for options (flag/param).
...
Flag and param are to change contents of attributes (modules). These don't
have code (*.[coS]).
Filesystem definition still defines an attribute (module) implicitly.
2014-10-14 08:00:27 +00:00
apb
e010c72036
Allow easier adding/removing of options without regard to
...
whether or not they were already defined.
2014-10-12 15:54:19 +00:00
uebayasi
6e01290960
Don't shadow global 'devname' on macppc.
2014-10-12 15:35:40 +00:00
wiz
891aaa4d83
Spelling.
2014-10-12 08:04:30 +00:00
uebayasi
ab6c1d8a5a
Fix typos in previous.
2014-10-12 05:25:21 +00:00
uebayasi
a38ec9b5de
Make hash capable of taking two key strings.
2014-10-12 05:20:54 +00:00
uebayasi
0819fb14f9
More TODOs.
2014-10-12 04:23:46 +00:00
martin
db3a752aed
Remove a set but not used variable
2014-10-11 17:27:42 +00:00
uebayasi
6d52c530bb
More debug messages.
2014-10-11 15:47:38 +00:00
uebayasi
77259bf204
On second thought, resolving "device" dependency in enddefs() is correct.
...
The problem was to select things. So put back the code to record dependency
as attributes.
While here, sprinkle more debug messages.
2014-10-11 15:20:36 +00:00
uebayasi
d1bb5c1f69
Don't conplain devclass redifition to the same value; it can happen while
...
resolving dependency.
2014-10-11 09:27:51 +00:00
uebayasi
0e6a39b020
After yyparse() is done, print not file but stage for debug.
2014-10-11 09:09:19 +00:00
uebayasi
984251350e
Redo "device" dependency. It was completely wrong to select things just
...
after definitions at enddefs(). Resolve dependency in selectbase().
2014-10-11 09:06:29 +00:00
uebayasi
1140e58262
Pass stricter build.
2014-10-11 06:18:29 +00:00
uebayasi
84fb961fd3
Resolve "device" definition dependency lazily.
2014-10-11 06:07:20 +00:00
uebayasi
93405beec9
Enable debug for tools.
2014-10-11 03:17:40 +00:00
uebayasi
bb4851f85c
Remove an unsed var.
2014-10-10 16:17:27 +00:00
uebayasi
9a2063bca6
Revert a mistakenly added, superflous attribute match test that caused some
...
valid options to get lost.
2014-10-10 15:35:08 +00:00
uebayasi
92b86764e1
Bump config(1) version.
...
config(1) still keeps backward-compatibility; it is more permissive than
before. The tree, however, needs the updated config(1), mainly to strictly
define attribute ("module") ownership and dependencies.
2014-10-10 12:10:02 +00:00
wiz
c8fb5a2e0f
Fix two typos.
2014-10-10 11:58:59 +00:00
uebayasi
b0d108d368
Document -M.
2014-10-10 11:49:15 +00:00
uebayasi
eac891b935
Put TODO ideas (to keep your fun).
2014-10-10 11:38:42 +00:00
uebayasi
d23bf64337
Allow dependency on undefined attributes, so that attribute definitions can
...
be written out-of-order, like:
# b is not defined yet
define a: b
file a.c a
# b is defined here
define b
fine b.c
2014-10-10 11:09:50 +00:00
uebayasi
680ed4abc8
Select attributes for filesystem options too.
2014-10-10 10:46:05 +00:00
uebayasi
861847ab35
If an option is selected, select the matching (lowercased) attribute. Handle
...
dependencies too.
2014-10-10 10:22:49 +00:00
uebayasi
7a01ec4b08
If an attribute is selected, select its dependencies too.
2014-10-10 10:16:19 +00:00
uebayasi
c24abed7e6
Implicitly define attribute for device.
2014-10-10 08:14:47 +00:00
uebayasi
6903e7639b
Implicitly define attribute for options.
2014-10-10 07:48:50 +00:00
uebayasi
d88f6cad14
Implicitly define attribute for filesystem.
2014-10-10 07:08:26 +00:00