| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
Reviewed by: imp
MFC After: 3 days
|
|
|
|
|
|
|
|
| |
major number.
Reviewed by: ru@, jhb@, arch@ (a few months ago)
# this is subject to refinement based on experience.
|
|
|
|
|
|
|
|
|
| |
"make cleandepend && make depend".
PR: bin/91765
Submitted by: Soeren Straarup <xride@x12.dk>
Approved by: cpercival
MFC after: 3 days
|
|
|
|
|
|
| |
- Avoid adding options multiple times to the option list.
Based on a patch by: Matt Emmerton <matt@gsicomp.on.ca>
|
|
|
|
|
|
|
|
|
|
|
| |
- The code that creates hints.c and env.c from the skeleton files
moved into separate functions.
- Sanity checks for missing "ident" and "cputype" directives moved
into main(), alongside the existing check for "machine".
PR: bin/90310
Submitted by: Matt Emmerton <matt@gsicomp.on.ca>
|
|
|
|
| |
Repocopied by: peter
|
|
|
|
| |
(Indeed this should be repo-copied to src/usr.sbin/config/.)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
much later than before, and it is now after we do a mkdir ../compile/FILE.
As a result, if you do 'config DOESNOTEXIST', it now creates the directory
../config/DOESNOTEXIST. It did not do that before. If DEFAULTS does not
exist, it still fails early before any permanent changes.
This shameless hack restores the old behavior of ensuring the config file
actually exists before mkdiring its counterpart directory.
Now I can rmdir ../compile/D and it will stay dead, after my fingers keep
sabotaging me with 'config D<tab><enter>'. (Some of my kernel names
started with D, which used to be 1-character unique and my fingers knew
this very well...)
|
|
|
|
|
|
|
|
| |
this file. With ru@'s approval, change it to this version. In this case we
had to bump the version because the old parser would choke on | in the new
'or' syntax and consider that a device.
Approved by: ru@
|
|
|
|
| |
- Move existing "machine" directives to DEFAULTS.
|
|
|
|
| |
improve tracking of known devices. Bump config(8) version.
|
|
|
|
|
|
|
|
|
| |
Don't keep duplicate files in the files list just to
mark the device as "known" later. XXX: Since the
device list isn't unique (there can be two "device foo"
directives, as this the case with LINT+DEFAULTS), we
have to traverse it all to mark all copies of the same
device as "used", but this is not worse than it was.
|
|
|
|
| |
/* appearing in a comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clarify that it is not like the shlib versions, and not like param.h's
__FreeBSD_version/osreldate either.
When config(8) was actively changing a while back, the interface between
config and the build system (eg: /sys/conf/files.* and Makefile.*) was
changing rapidly. configvers is a version number of that interface.
User specified config files do not have a version number. The decision
about whether a user supplied config file is syntactically valid or not
belongs to the parser and sanity checks, not an arbitary number.
|
|
|
|
|
| |
bump the version. Peter Wemm, John Baldwin and I hammered this out
after the last time I needlessly incremented the version.
|
|
|
|
| |
statement to null the effect of several identical "cpu" directives.
|
| |
|
|
|
|
| |
Requested by: rwatson
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory before the specified config file. This is implemented by
opening DEFAULTS as stdin if it exists, and if so resetting stdin to the
actual config file when DEFAULTS is fully parsed via yywrap(). In short,
this lets us create DEFAULTS kernel configs in /sys/<arch>/conf that can
enable certain options or devices by default and allow users to disable
them via 'nooptions' or 'nodevice' rather than having to create kludge
NO_FOO options.
Requested by: scottl
Reviewed by: scottl
|
| |
|
| |
|
|
|
|
|
|
| |
we don't do this automatically.
Suggested by: bde
|
|
|
|
|
|
|
|
|
|
|
| |
allows us to specify the machine_arch as well as machine. If
specified then a second link will be made, similar to machine, from
$MACHINE_ARCH to $S/$MACHINE_ARCH/include.
This is for ports where MACHINE != MACHINE_ARCH (pc98 today, others in
the future?).
Reviewed by: arch@, nyan@
|
| |
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
| |
This page should probably be repocopied to src/usr.sbin/config/.
|
|
|
|
|
|
| |
(separated by commas), so add "devices" and "nodevices" as aliases.
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Submitted by: Craig Rodrigues
|
|
|
|
|
|
| |
Also allow "device" / "nodevice" to be spelled "devices" / "nodevices".
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
directory, and its name does not begin with a period or a forward slash,
go look for it in ../../conf.
Wished for by: scottl
MFC after: 2 weeks
|
|
|
|
| |
and "nooptions".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remaining consumers to have the count passed as an option. This is
i4b, pc98/wdc, and coda.
Bump configvers.h from 500013 to 600000.
Remove heuristics that tried to parse "device ed5" as 5 units of the ed
device. This broke things like the snd_emu10k1 device, which required
quotes to make it parse right. The no-longer-needed quotes have been
removed from NOTES, GENERIC etc. eg, I've removed the quotes from:
device snd_maestro
device "snd_maestro3"
device snd_mss
I believe everything will still compile and work after this.
|
|
|
|
| |
from Berkeley.
|
|
|
|
|
|
| |
macros (N<driver>) under BURN_BRIDGES.
Discussed with: peter, imp, scottl, ...
|
| |
|
|
|
|
| |
Reminded by: jmg
|
|
|
|
| |
This makes config(8) WARNS?=6 compliant.
|
|
|
|
|
| |
from a kernel config file.
Bump config version to reflect this change.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a SEMICOLON token (a newline or semicolon, or one of these preceded
by a comment and/or whitespace). The input stream was switched too
early and the parser was expecting a SEMICOLON in the included file
instead of after the filename in the include directive.
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Kept alive by: Adam C. Migus <adam@migus.org>
|
|
|
|
|
| |
Suggested by: dcs
Approved by: ceri (mentor)
|
|
|
|
| |
Submitted by: jwd
|