| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Obtained from: NetBSD
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
truncate it if it exists) or :>> (ensure the file exists, but don't change
it if it already does)
Reviewed by: ru
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
and want to have crypto support loaded as KLD. By moving zlib to separate
module and adding MODULE_DEPEND directives, it is possible to use such
configuration without complication. Otherwise, since IPSEC is linked with
zlib (just like crypto.ko) you'll get following error:
interface zlib.1 already present in the KLD 'kernel'!
Approved by: cognet (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the kernel by wrapping all targets for fake opt_*.h files in
.if defined(KERNBUILDDIR). Thus, such fake files won't be
created at all if modules are built with the kernel.
Some modules undergo cleanup like removing unused or unneeded
options or .h files, without which they wouldn't build this way
or the other.
Reviewed by: ru
Tested by: no binary changes in modules built alone
Tested on: i386 sparc64 amd64
|
| |
|
|
|
|
| |
automatically removes opt_*.h and if_*.h found in SRCS.
|
| |
|
|
|
|
|
|
| |
commit.
Submitted by: Anders Andersson <anders@hack.org>
|
|
|
|
| |
Not objected to by: -current
|
|
|
|
|
|
| |
opt_foo.h:
touch opt_foo.h
.. is unnecessary - kmod.mk does this for us.
|
| |
|
|
|
|
|
|
| |
configuring INET).
Fixed most style bugs (mainly hard-coding of ${.TARGET}).
|
|
|
|
| |
to ppp_tty.c by the megacommit, and garbage added here).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include:
* Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The
alpha port is still in transition and currently uses both.)
* Per-CPU idle processes.
* Interrupts are run in their own separate kernel threads and can be
preempted (i386 only).
Partially contributed by: BSDi (BSD/OS)
Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh
|
|
|
|
| |
encoding the relative path.
|
|
|
|
|
|
|
| |
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk. This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
|
|
|
|
|
| |
and empty options files. The rules are now generated automatically in
bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
|
|
|
|
| |
module and don't #include "bpf.h".
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
that doesn't have it. This is achieved by having minimal do-nothing stubs
enabled when there are no bpfilter devices configured.
Driver modules should be built with BPF enabled for maximum
convenience (but can be built without it for maximum performance).
|
|
|
|
|
|
|
|
|
| |
XXX It probably makes sense to have a flag for bsd.kern.mk to avoid these
rules.
XXX IO_NDELAY seems to be the main reason for it, when used in a cdevsw
read or write "flag" context. Perhaps a redundant declaration
somewhere like sys/conf.h might help remove the need for vnode.h in
these device drivers in the first place.
|
|
|
|
|
|
|
| |
converted yet. These are more of a starting point. This is NOT connected
to the parent Makefile.
OK'ed by jkh (who is ever so patiently waiting)
|
| |
|
|
|
|
|
| |
path to the obj directory in ${CFLAGS}. This is actually equivalent
to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
|
| |
|
|
|
|
| |
opt_inet.h.
|
|
|
|
| |
Submitted by: helbig
|
|
|
|
|
|
| |
minor buglet when neither bsdcomp, deflate or filter is used.
Pointed out by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
|
|
|
|
|
|
|
|
| |
PPP_DEFLATE options... The code uses #if defined(PPP_DEFLATE) etc, so the
original method of "#define PPP_DEFLATE 0" did not actually disable
anything. It was not possible to configure out bsdcomp or zlib
compression. Also, join the settings for PPP_FILTER and NBPFILTER together
since they are related here (can't have PPP_FILTER without NBPFILTER).
|
|
|
|
|
|
| |
similar fix to one provided in pr4348
Closes PR#4348
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
|
|
|
| |
generated. Should this lkm set VFS_LKM ?
|
| |
|
|
are now dynamically loadable. It doesn't make sense to do the same
for the loopback.
|