joerg
6616828fd2
Restore explicit rule for swap*.o.
2014-08-18 08:07:02 +00:00
joerg
a26164117a
Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
...
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
2014-08-17 21:17:43 +00:00
bad
2a950d2831
Treat an undefined option as a warning instead of an error when undoing an
...
option.
Allows one to win with declarations like:
no options MSGBUFSIZE
options MSGBUFSIZE="128*1024"
Briefly discussed with cube@, lukem@ and martin@.
2014-08-09 12:40:14 +00:00
wiz
910ba5f05b
Bump date for previous.
2014-05-29 08:13:17 +00:00
mrg
ebf7669ed7
implement "no ident".
2014-05-29 07:47:45 +00:00
dholland
d8da1d6013
avoid error path SIGSEGV
2014-05-21 05:25:34 +00:00
wiz
9237f38b59
Sort options in usage.
2014-05-05 21:04:09 +00:00
wiz
5f345558c9
Sort SYNOPSIS. Bump date for previous.
2014-05-05 20:52:45 +00:00
martin
1957b5eaba
Add two new options, -U and -D, that can be used to define "makeoptions"
...
on the config command line. While there, rename the undocumented (internal)
parser debug option from -D to -d.
Discussed on tech-toolchain.
2014-05-05 19:08:13 +00:00
riastradh
da030fc8bd
`Controller' takes two l's.
2014-03-06 15:00:21 +00:00
wiz
26dba06cb7
Fix some typos found by Rich Neswold and reported in PR 48597.
2014-02-13 22:36:28 +00:00
christos
6fce9f6ad7
go back to using file:line: from uwe.
2013-11-01 21:39:13 +00:00
christos
8ae3ff1668
make config errors look more like other programs: <file>,<line>:
...
instead of <file>:<line>:
2013-11-01 17:09:59 +00:00
pooka
26b4d3d169
ioconf/pseudo-root have been in here unchanged for 3+ years and their use
...
has spread from rump kernels into dozens of kernel modules. Let's pretend
we don't want to see config yell about them being experimental every time.
2013-08-11 10:37:08 +00:00
christos
fbb3db86f7
Don't support sysctl for the tools version of config. It is too complicated
...
to do so, and config -x is not used during the build.
2012-08-31 01:23:49 +00:00
wiz
686e48a4a3
Use more markup. Wording.
2012-08-30 12:42:41 +00:00
christos
c9ffe47f54
bump date.
2012-08-30 12:32:07 +00:00
christos
8aaed51273
make config -x look at the booted kernel first.
2012-08-30 12:31:25 +00:00
martin
fcbf6c86a2
If we build several kernel (variants) within the same build directory, bad
...
things may happen in a parallel build - especially with rules like the
automatic size adjustment for SYMTAB_SPACE, see long standing failure of
evbarm on the build cluster.
Easy fix: .WAIT for each config to complete, before going on with the
next. Low impact, only minor loss of paralellism, and only in cases where
needed.
2012-06-08 08:56:45 +00:00
matt
d34c2845b8
Use C89 function definitions
2012-03-20 20:34:57 +00:00
dholland
471d829aae
Remove the NV_OBSOLETE flag, which is no longer needed. While here,
...
update an outdated comment about condition expressions.
2012-03-12 03:04:56 +00:00
dholland
cb79ede2d1
Give option definitions their own data structure instead of using nvlists.
...
(and using messy hacks to make up for nvlists not holding quite the right
things)
2012-03-12 02:58:55 +00:00
dholland
a883398ef5
Introduce type-safe wrappers around the hash tables. Use them for a
...
selected set of tables affected by the next nvlist cleanup in the
works.
2012-03-12 00:20:30 +00:00
dholland
f5d4142b2d
Move locator lists to their own data structure. This can use more tidying;
...
it is not clear to me at the moment what the "string" and "num" values
pushed around in locator lists are supposed to actually mean.
2012-03-11 21:16:07 +00:00
dholland
25c56bd707
Add some organizational comments
2012-03-11 20:02:55 +00:00
dholland
237116305d
More naming improvements.
2012-03-11 19:27:26 +00:00
dholland
a551c5e8b7
Create a struct condexpr type to hold condition expressions, instead
...
of abusing struct nvlist to make trees.
(These are the a|b and a&b constructs.)
2012-03-11 08:21:53 +00:00
dholland
4fbb702df0
Rename a few more things; try to use the same terminology as config(5).
2012-03-11 07:46:47 +00:00
dholland
bbe96a5ad8
Create a new type struct attrlist to manage lists of attributes,
...
instead of using struct nvlist.
(struct nvlist holds lists (or trees!) of semi-arbitrary stuff with no
structure and almost no type safety; it should go away.)
2012-03-11 07:32:41 +00:00
dholland
720c7fbc2a
Strengthen the logic that wraps allocations going on the parser stack.
...
(This allows cleaning up when a syntax error occurs, because yacc just
dumps the parser stack on the floor.)
The new logic can handle arbitrary data types instead of being limited
to struct nvlist.
2012-03-11 07:27:02 +00:00
dholland
285c15fc92
Remove cf_swap, which hasn't been used in a long time.
2012-03-11 05:31:37 +00:00
dholland
cfffb8a2c1
Write out the expression grammar for dependency constraints instead of
...
using precedence rules. Precedence rules (besides being a hack) often
lead to unexpected/unwanted behavior in corner cases.
2012-03-11 02:56:25 +00:00
dholland
6df4c5ae47
Sort productions in grammar. No functional change.
2012-03-11 02:43:33 +00:00
dholland
70f2148fe7
Simplify some things. Rename some productions for clarity.
2012-03-11 02:21:04 +00:00
dholland
60c605bb74
A bit more of previous.
2012-03-11 01:09:42 +00:00
dholland
540fdf9f5e
Reformat according to (my) basic standards for yacc grammars.
...
No functional change.
2012-03-11 00:57:44 +00:00
dholland
f3063ae30c
Comments.
2012-03-11 00:14:20 +00:00
dholland
671dbef5d6
Use __printflike. Build products unchanged.
2012-03-10 21:53:38 +00:00
matt
105471657d
When making the symlink for machine -> arch/foo/include
...
also make foo -> arch/foo/include. This allows one to include <foo/bar.h>
include <machine/bar.h> which can be handy.
2011-07-09 08:01:58 +00:00
nakayama
c09c2a7b34
Fix build on Solaris 10.
2011-03-03 14:53:01 +00:00
cube
3f1dd008b1
Emit compatible struct devsw_conv when version is older than 20100430.
2010-07-30 16:23:49 +00:00
pooka
00ed8a38a3
Prefer a real device for pseudoroot and only create a fake device
...
in the case we are attaching to a pure attribute. Otherwise we
end up creating a fake device instance every time ...
2010-05-02 15:35:00 +00:00
pooka
145a3f9eec
ignore mainbus in previous for now
2010-05-01 23:54:35 +00:00
pooka
194e1c80bc
Support interface attributes as pseudoroots. This makes things like
...
"pseudo-root audiobus*" possible.
2010-05-01 22:17:58 +00:00
pooka
3da3ab250b
For the simple cases, augment device-major with information on how
...
a driver expects /dev/node -> minor mappings to go and include that
information in devsw_conv.
(no, I didn't plow through all the MD majors files)
2010-04-30 20:47:17 +00:00
pooka
3718acd4b5
output __arraycount instead of homegrown macro
2010-04-15 12:35:57 +00:00
pooka
b7a2b071f9
Put cfdata* in a similar namespace with cfdriver** cfattachinit*.
...
This was nagging me already yesterday, but I decided to leave it
alone for better compat with old ioconf.c builds. But as it turns
out, new code depends on newly built ioconf.c with a new config(1)
anyway, so renaming is not an issue (at least not at this stage).
While renaming, namespace cfdriver and cfattach in "ioconf" rather
than "comp", since the former reflects the config(5) keyword.
2010-03-26 15:51:17 +00:00
pooka
abc34bd561
Generate cfdriver and cfattach lists for ioconf configs.
2010-03-25 19:39:05 +00:00
pooka
d0e5d93744
Some drivers want to include ioconf.h, so generate it if doing
...
"ioconf" config.
2010-03-22 14:40:54 +00:00
pooka
523c21179c
print ioconf WARNING in caps too
2010-03-08 11:12:32 +00:00