Peter Wemm
916cd514f2
Add a hint about -DNO_WERROR
2002-02-25 21:59:57 +00:00
Peter Wemm
7a2eb19dbf
Commit some infrastructure for turning on -Werror for kernel compiles.
...
It doesn't actually do it yet though. This adds a flag to config so
that we can exclude certain vendor files from this even when the rest
of the kernel has it on. make -DNO_WERROR would also bypass all of it.
2002-02-20 23:35:56 +00:00
Peter Wemm
f99afbb9af
Bump configvers for different handling of maxusers.
2001-12-14 09:40:01 +00:00
Matthew Dillon
66a11b9fb1
Allow maxusers to be specified as 0 in the kernel config, which will
...
cause the system to auto-size to between 32 and 512 depending on the
amount of memory.
MFC after: 1 week
2001-12-09 01:57:09 +00:00
Ruslan Ermilov
66d4a748cf
mdoc(7) police:
...
- Bump document date.
- Remove hard sentence breaks.
- Fix markup.
2001-10-26 11:16:18 +00:00
Peter Wemm
8116859a74
Use includes to get prototypes for hints and env arrays.
...
Submitted by: bde
2001-09-17 21:25:48 +00:00
Peter Wemm
76cb0cadf1
Enable hardwiring of things like tunables from embedded enironments
...
that do not start from loader(8).
2001-08-27 05:11:53 +00:00
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
David E. O'Brien
90e655ea4e
Perform a major cleanup of the usr.sbin Makefiles.
...
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Peter Wemm
e8cc4c7407
Put on my peril-sensitive sunglasses and remove the POLA-violating
...
stealth hints loading. 'make release' has been fixed to not need this
now anyway. If you want static hints, specify it explicitly.
Hey! Why did it suddenly get so dark??
2001-07-14 05:02:40 +00:00
Peter Wemm
ef1cb1959c
Remove the old machine symlink first.
2001-07-14 00:03:05 +00:00
Dima Dorfman
5e06480c9f
Introduce an "include" directive. It takes one argument, a filename
...
to be included into this one. This works the same way as #include
does in C; as far as the user is concerned, the included file is
inlined into the current one.
Since config(8) is no longer limited to working on one user-supplied
file, printing just a line number in an error message is not
sufficient. The new global variable yyfile represents the file
currently being parsed, and must be printed as well.
Reviewed by: imp
Obtained from: OpenBSD
2001-07-12 02:08:51 +00:00
Ruslan Ermilov
a4c37c816b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:12:08 +00:00
Warner Losh
b0fa8b5b3b
Bring FILES section up to date.
...
submitted by: Mark Peek <mark-ml@whistle.com>
2001-07-04 18:48:50 +00:00
Warner Losh
a3d1987d23
Bump config version in config.
2001-07-02 05:38:26 +00:00
Warner Losh
971470c36c
Move kernel compile directory from sys/compile/FOO to
...
sys/compile/${MACHINE}/FOO.
Reviewed by: obrien, peter and the USENIX terminal room secret kernel cabal
2001-06-30 06:28:12 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
c73e22c3d4
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
Peter Wemm
6f34947de7
newbus_ioconf() is long gone
2001-02-28 02:55:15 +00:00
Peter Wemm
f9f6bfe762
Some more tidying up. we dont use config-dependent anyware. Eliminate
...
some duplicate code (cut/paste bug?). tidy up some other minor stuff.
2001-02-28 02:53:32 +00:00
Peter Wemm
388481c1b7
s/special/compilewith/ (so I stop confusing myself) and GC an unused
...
function I missed before.
2001-02-28 02:30:30 +00:00
Peter Wemm
4336b13f61
Untangle some special magic that happened for conflicting defintions for
...
local files.* and options.* files on the third pass.
2001-02-28 02:07:47 +00:00
Peter Wemm
5ee6dbc67e
Remove some more dead code. :-/
2001-02-28 01:38:01 +00:00
Peter Wemm
0ef4251fb9
GC some leftover stuff (device-driver suffix)
2001-02-28 01:17:04 +00:00
Peter Wemm
ed53c6c5c0
Move the 'dont forget "make depend"' to be the last thing that people see,
...
after the warnings.
2001-02-23 00:22:04 +00:00
Peter Wemm
a9973e4ad8
Futher cleanups. Since we have two options lists, one for proper options
...
and one for Makefile options, pass in the list head and use a common
newopt() routine.
Fix the 'config vmunix' support glue which was broken for a few minutes.
2001-02-22 04:00:29 +00:00
Peter Wemm
2db1cff10d
Collect together a handful of copies of the option generator code into a
...
single newopt(char *name, char *value) function. Change newdev() to
do the same thing rather than depending on the evil 'cur' device hack.
2001-02-22 03:40:50 +00:00
Peter Wemm
68f4fced95
${BDECFLAGS} work. And fix a real error in the process. A "MAXUSERS"
...
string could have been passed to free(); There are some warnings here
I am not sure how to fix as they are in the lex scanner code, etc.
2001-02-19 04:43:21 +00:00
Peter Wemm
357a8c727e
Devices are NOT compiled with the "special c2 option -i"..
2001-02-18 22:42:15 +00:00
Peter Wemm
3b10a240e5
Remove the need to list each and every cpu platform. Config will now
...
take your word for the 'machine' switch.
2001-02-04 13:17:38 +00:00
Peter Wemm
3c36aab606
Try and make it clearer that the static units thing is a FYI only.
2001-01-31 11:18:49 +00:00
Peter Wemm
246449f3e3
Unwind a bit more cruft - we only have one type of device now.
2001-01-31 10:30:30 +00:00
Peter Wemm
62a4bb5509
Oops. An old version of a local change leaked in with the last commit.
...
Since it is here, clean it up a bit.
2001-01-31 10:06:06 +00:00
Peter Wemm
ace858085f
Redo the stray header file cleanup code to not depend on timestamps
...
or access times or anything. Just bite the bullet and keep a list of
header files that we know about.
2001-01-31 08:42:35 +00:00
Peter Wemm
2860fa873e
AARGH! This does not mix too well with the -o noatime mount option.
...
:-(
2001-01-29 15:26:35 +00:00
Peter Wemm
e3701bdd59
I confess. This is a truely nasty hack. I am so ashamed!
...
(I think config(8) source does bad things to your brain :-)
Clean up likely stray *.h files in the build directory.
Eg: if isa.h ceases being generated, zap it.
The heuristics to figure out a 'likely' file are pretty revolting.
2001-01-29 09:34:43 +00:00
Benno Rice
9abfa9d14b
Add support for configuring PowerPC kernels.
...
Reviewed by: peter
2001-01-22 12:10:45 +00:00
Peter Wemm
b8e39fd14a
Clean up some obsolete stuff. config -r has not been needed since around
...
FreeBSD 3.x or so when the 'make depend' picked up the opt_foo.h files.
Convert warnings into actual errors in the hope that buildkernel users
will pay more attention. :-(
2001-01-22 07:03:06 +00:00
Peter Wemm
3fac4a6263
Stop turning 'mandatory' into an implicit 'count' line. i386/npx was the
...
only consumer of this and it is no longer needed.
2001-01-19 13:20:50 +00:00
Peter Wemm
10ca19cf93
Implement option strings that we can use in #ifdefs (where unavoidable)
...
as a replacement for the evil #define NFOO. If 'device npx' is in the
static kernel, a synthetic option '#define DEV_NPX 1' will be available
to stick in an opt_xxx.h file. "#if NNPX > 0" can be replaced with
"#ifdef DEV_NPX" and we can get rid of the overloaded meaning of the
device count mechanism.
2001-01-19 12:49:21 +00:00
Peter Wemm
d772649af3
Try and stop config(8) from freaking out due to unnecessary paranoia
...
when using -d. Use realpath(3) to locate the top of the tree rather than
trying to manually trim back the results of a getcwd().
Requested by: alfred
2001-01-04 22:08:20 +00:00
Ben Smithurst
1cb88f4274
.Nm Config -> .Nm, there is no such program "Config" in FreeBSD.
...
PR: 23404
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2000-12-11 10:14:58 +00:00
Peter Wemm
3f964411b5
Make the xxxFILES= list generation generic. This makes it easier to add
...
things like MFILES= or CONFFILES= without having to modify config code.
2000-11-25 03:25:34 +00:00
Warner Losh
faa913d76d
Fix buffer overflows in filenames. If you had a path > 80 characters
...
for your /usr/obj/path/to/my/files path to the kernel, then weird
things happened. make buildkernel would fail because config was
dumping core or generating bad file names (depending on the lenght of
the path).
While I was here, also use strlcpy, strlcat and snprintf (or asprintf)
as necessary. Minor format policing for the snprintf calls as well.
2000-11-21 19:58:55 +00:00
Ruslan Ermilov
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Poul-Henning Kamp
412916079c
Make it possible to specify profiling in the kernel config file.
...
Do so for LINT.
2000-10-14 08:33:22 +00:00
Doug Rabson
918c9eec57
Add ia64 support.
2000-09-29 13:36:47 +00:00