Warner Losh
c6063d0da8
Use src.opts.mk in preference to bsd.own.mk except where we need stuff
...
from the latter.
2014-05-06 04:22:01 +00:00
Robert Watson
d5fc25e5d6
Remove opt_mac.h generation for various kernel modules that no longer
...
require it.
Submitted by: pjd
2009-06-06 17:01:44 +00:00
Ruslan Ermilov
e1fe3dba5c
Reimplementation of world/kernel build options. For details, see:
...
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
Ruslan Ermilov
81ee234642
When compiling with the kernel, detect if INET6 support should be disabled.
2005-12-06 14:55:46 +00:00
Yaroslav Tykhiy
e462145e3b
In this case, disable wrapping of fake opt_*.h targets in
...
"if defined(KERNBUILDDIR)" for now since the new way of
building modules with the kernel can't handle dynamic SRCS
depending on build options yet.
2005-10-18 07:54:02 +00:00
Yaroslav Tykhiy
822923447e
Let modules use the kernel's opt_*.h files if built along with
...
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
2005-10-14 23:30:17 +00:00
Ruslan Ermilov
731db6a428
NOINET6 -> NO_INET6
2004-12-21 10:49:29 +00:00
Brooks Davis
76d5d30105
kmod.mk knows how to create empty opt_*.h files so let it deal with the
...
NOINET6 case.
Reported by: ru
2004-12-03 23:43:02 +00:00
Brooks Davis
2d4e39b551
Allow the gif module to be built without IPv6 support when NOINET6 is
...
defined.
Submitted by: mitrohin a.s. <swp at uni-altai dot ru>
2004-11-26 19:01:57 +00:00
Robert Watson
4d4c1c5ca2
Depend on opt_mac.h.
2002-08-12 15:27:17 +00:00
Ruslan Ermilov
17d6c63672
Drop <bsd.man.mk> support from <bsd.kmod.mk>.
...
Not objected to by: -current
2002-01-11 15:49:02 +00:00
Brooks Davis
53dab5fe7b
gif(4) and stf(4) modernization:
...
- Remove gif dependencies from stf.
- Make gif and stf into modules
- Make gif cloneable.
PR: kern/27983
Reviewed by: ru, ume
Obtained from: NetBSD
MFC after: 1 week
2001-07-02 21:02:09 +00:00