| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This option allows for specifying the directory to use as the location for
kernel source files. This option was ported from NetBSD.
GitHub Pull Request: https://github.com/freebsd/freebsd/pull/18
Submitted by: Steve Kiernan <stevek@juniper.net>, Simon Gerraty <sjg@juniper.net>
Obtained from: Juniper Networks, Inc.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D1722
Relnotes: yes
Notes:
svn path=/head/; revision=277904
|
|
|
|
| |
Notes:
svn path=/head/; revision=269251
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The impact of this bug is that you cannot build a kernel if both of the
following are true:
1) The kernel config file is in a non-default location
2) The kernel config file uses the "include" statement from config(5).
usr.sbin/config/main.c
usr.sbin/config/config.8
usr.sbin/config/config.h
usr.sbin/config/lang.l
Added a "-I path" option to config(8). By analogy to cc(1), it adds
an extra path in which the "include" statement will search for
files.
Makefile.inc1
Pass "-I ${KERNCONFDIR}" to config(8).
PR: kern/187712
Reviewed by: will, imp (previous version)
MFC after: 3 weeks
Sponsored by: Spectra Logic Corporation
Notes:
svn path=/head/; revision=263429
|
|
|
|
|
|
|
|
|
|
| |
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
Notes:
svn path=/head/; revision=233648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Passing -m to config will now print the MACHINE and MACHINE_ARCH
given in the passed kernel configuration file and then exit.
- If an option is defined in options.MACHINE with the same name as the
architecture of the kernel being configured, that option will be
considered set. This allows conditional compilation based on CPU
architecture.
Config version is now 600010.
Reviewed by: imp
Notes:
svn path=/head/; revision=209969
|
|
|
|
| |
Notes:
svn path=/head/; revision=187742
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change will let us to have full configuration of a running kernel
available in sysctl:
sysctl -b kern.conftxt
The same configuration is also contained within the kernel image. It can be
obtained with:
config -x <kernelfile>
Current functionality lets you to quickly recover kernel configuration, by
simply redirecting output from commands presented above and starting kernel
build procedure. "include" statements are also honored, which means options
and devices from included files are also included.
Please note that comments from configuration files are not preserved by
default. In order to preserve them, you can use -C flag for config(8). This
will bring configuration file and included files literally; however,
redirection to a file no longer works directly.
This commit was followed by discussion, that took place on freebsd-current@.
For more details, look here:
http://lists.freebsd.org/pipermail/freebsd-current/2007-March/069994.html
http://lists.freebsd.org/pipermail/freebsd-current/2007-May/071844.html
Development of this patch took place in Perforce, hierarchy:
//depot/user/wkoszek/wkoszek_kconftxt/
Support from: freebsd-current@ (links above)
Reviewed by: imp@
Approved by: imp@
Notes:
svn path=/head/; revision=169507
|
|
|
|
|
|
|
|
|
| |
the old BSD config(8) utility in FreeBSD), it does not look good.
PR: docs/100328
Notes:
svn path=/head/; revision=163590
|
|
|
|
| |
Notes:
svn path=/head/; revision=148916
|
|
|
|
| |
Notes:
svn path=/head/; revision=140442
|
|
|
|
|
|
|
| |
Submitted by: Craig Rodrigues
Notes:
svn path=/head/; revision=138912
|
|
|
|
|
|
|
| |
from Berkeley.
Notes:
svn path=/head/; revision=133248
|
|
|
|
|
|
|
|
| |
Suggested by: dcs
Approved by: ceri (mentor)
Notes:
svn path=/head/; revision=118564
|
|
|
|
|
|
|
|
|
| |
PR: 51164
Submitted by: Jeff Ito <jeffi@rcn.com>
MFC after: 3 days
Notes:
svn path=/head/; revision=113749
|
|
|
|
|
|
|
|
|
|
|
| |
kernel into line with that suggested in LINT.
PR: bin/48157
Submitted by: naddy
MFC After: 4.8
Notes:
svn path=/head/; revision=111095
|
|
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107788
|
|
|
|
| |
Notes:
svn path=/head/; revision=101828
|
|
|
|
| |
Notes:
svn path=/head/; revision=99968
|
|
|
|
| |
Notes:
svn path=/head/; revision=96705
|
|
|
|
|
|
|
|
|
| |
- Bump document date.
- Remove hard sentence breaks.
- Fix markup.
Notes:
svn path=/head/; revision=85536
|
|
|
|
| |
Notes:
svn path=/head/; revision=81622
|
|
|
|
| |
Notes:
svn path=/head/; revision=79755
|
|
|
|
| |
Notes:
svn path=/head/; revision=79537
|
|
|
|
|
|
|
| |
submitted by: Mark Peek <mark-ml@whistle.com>
Notes:
svn path=/head/; revision=79236
|
|
|
|
|
|
|
|
|
| |
sys/compile/${MACHINE}/FOO.
Reviewed by: obrien, peter and the USENIX terminal room secret kernel cabal
Notes:
svn path=/head/; revision=79013
|
|
|
|
|
|
|
|
|
| |
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. :-(
Notes:
svn path=/head/; revision=71363
|
|
|
|
|
|
|
|
| |
PR: 23404
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Notes:
svn path=/head/; revision=69850
|
|
|
|
| |
Notes:
svn path=/head/; revision=68965
|
|
|
|
| |
Notes:
svn path=/head/; revision=68716
|
|
|
|
| |
Notes:
svn path=/head/; revision=68575
|
|
|
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
Notes:
svn path=/head/; revision=57673
|
|
|
|
| |
Notes:
svn path=/head/; revision=56481
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- redo the "at" configuration system so that it just syntax checks
to make sure the device you're configuring something "at" appears to
exist. Nuke a bunch of complexity that was responsible for creating
"clones" of wildcard devices and some wierd stuff in a few places
including the scbus config tables etc.
- merge "controller" and "device" - there is no difference as far as
the kernel is concernend, it's just something there to make life
difficult for config file writers. "controller" is now an alias for
"device".
- emit full scsi config into the resource tables. We could trivially
change cam to use that rather than it's own "special" table for wiring
and static configuration. ATA could use this too for static wiring.
- try and emulate some of the quirks of the old system where it made
sense. Some were too strange though and I'd be very suprised if they
were features and not outright bugs. nexus handling is still strange.
One thing in particular is that some of the wierd entries in the
newbus devtables is now gone as it was a quirk side effect of the
wildcard/question-mark cloning above.
GENERIC and LINT still build etc.
Notes:
svn path=/head/; revision=55605
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory than the default one. If the option is not given, then the
output of config is exactly as before. Only when an alternate output
directory has been specified will config modify its behavior.
Additional changed:
o Remove the now conflicting and unused NODEV define. It
conflicts with NODEV in sys/param.h.
o Rename the now conflicting MACHINE token to ARCH. It
conflicts with MACHINE in sys/param.h.
o Fix some easy style bugs.
o Fix some easy grammar bugs in the manpage.
Approved by: peter, archie
Notes:
svn path=/head/; revision=52653
|
|
|
|
|
|
|
|
| |
Zap references to devices.i386 - it's not used. (neither is devices.pc98
or devices.alpha)
Notes:
svn path=/head/; revision=52007
|
|
|
|
| |
Notes:
svn path=/head/; revision=50479
|
|
|
|
| |
Notes:
svn path=/head/; revision=50000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
Notes:
svn path=/head/; revision=48791
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Requested-by: ache
bde
dg
Modify targets for debug kernels: when -g was specified, make will
now build a debug kernel called kernel.debug, and create a stripped
version called kernel at the same time. The two targets install and
install.debug are otherwise unchanged.
Requested-by: dillon
Update man page accordingly.
Notes:
svn path=/head/; revision=45579
|
|
|
|
| |
Notes:
svn path=/head/; revision=45523
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2. Config complains if you use -g:
Debugging is enabled by default, there is no ned to specify the -g option
3. Config warns you if you don't use -s:
Building kernel with full debugging symbols. Do
"config -s BSD" for historic partial symbolic support.
To install the debugging kernel, do make install.debug
(BSD was the name of the config file I used; I print out the same
name).
4. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 and config to
work if a kernel name other than 'kernel' is specified. This is
not absolutely necessary, but useful, and it was relatively easy.
I now have a kernel called /crapshit :-)
5. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 "clean" target
to remove both the debug and normal kernel.
6. Modify all to install the stripped kernel by default and the debug
kernel if you enter "make install.debug".
7. Update version number of Makefiles and config.
Notes:
svn path=/head/; revision=45427
|
|
|
|
|
|
|
|
| |
behaviour. Also indicate which option(s) are unknown if there are any
old-style options.
Notes:
svn path=/head/; revision=33538
|
|
|
|
| |
Notes:
svn path=/head/; revision=29451
|
|
|
|
| |
Notes:
svn path=/head/; revision=29193
|
|
|
|
|
|
|
|
|
|
| |
is conditionalized by the INCLUDE_CONFIG_FILE option in your kernel config
file and is not turned on by default.
Submitted-By: Bill Pechter <pechter@shell.monmouth.com>
Notes:
svn path=/head/; revision=16239
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
looking at a high resolution clock for each of the following events:
function call, function return, interrupt entry, interrupt exit,
and interesting branches. The differences between the times of
these events are added at appropriate places in a ordinary histogram
(as if very fast statistical profiling sampled the pc at those
places) so that ordinary gprof can be used to analyze the times.
gmon.h:
Histogram counters need to be 4 bytes for microsecond resolutions.
They will need to be larger for the 586 clock.
The comments were vax-centric and wrong even on vaxes. Does anyone
disagree?
gprof4.c:
The standard gprof should support counters of all integral sizes
and the size of the counter should be in the gmon header. This
hack will do until then. (Use gprof4 -u to examine the results
of non-statistical profiling.)
config/*:
Non-statistical profiling is configured with `config -pp'.
`config -p' still gives ordinary profiling.
kgmon/*:
Non-statistical profiling is enabled with `kgmon -B'. `kgmon -b'
still enables ordinary profiling (and distables non-statistical
profiling) if non-statistical profiling is configured.
Notes:
svn path=/head/; revision=13107
|
|
|
|
|
|
|
|
|
|
| |
If you invoke config with the `-n' flag or have NO_CONFIG_CLOBBER in
your environment, config will behave the same way it used to. This is
now _documented_ as well. Rip out all the CONFIG_DONT_CLOBBER cruft;
some of it wasn't even correct anyway.
Notes:
svn path=/head/; revision=6631
|
|
|
|
|
|
|
| |
exist on the i386 platform).
Notes:
svn path=/head/; revision=5613
|
|
|
|
|
|
|
| |
Submitted by: Bruce Evans
Notes:
svn path=/head/; revision=2104
|
|
|
|
|
|
|
|
| |
changes that have been made in FreeBSD 1.x, except for possibly the nfs
diskless support this is a completed config.
Notes:
svn path=/head/; revision=1566
|