Commit Graph

13 Commits

Author SHA1 Message Date
yar
57373b9b57 Move the hard-coded ETHER_* options to where they belong --
inside !if defined(KERNBUILDDIR).

Utilize the fact the module will support all frames by default --
it needs no ETHER_* options unless some frames need to be disabled.

Fix the comment respectively.

Don't forget to create fake opt_ef.h if no ETHER_* are set.

MFC after:	3 days
2006-02-24 12:27:09 +00:00
yar
024c6e0e38 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
ru
fc6eb88ff2 Removed custom "load" and "unload" targets.
Removed "deinstall" targets -- the idea is to provide the standard
"deinstall" target.
2004-01-19 14:00:26 +00:00
ru
3f4f85365b Drop <bsd.man.mk> support from <bsd.kmod.mk>.
Not objected to by:	-current
2002-01-11 15:49:02 +00:00
obrien
c269c9fb36 Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
bde
26d31df126 Removed garbage (CFLAGS+= ${PROTOS} was a vestige of an old way of
configuring INET).
2000-09-26 19:32:51 +00:00
sheldonh
3ab32b3613 When manual pages are moved or removed, MANX should be changed
to NOMAN.

Reported by:	bde
2000-07-24 13:52:07 +00:00
sheldonh
8acfef55ff Move the ef(4) manual page from sys/modules/if_ef to share/man/man4, as
discussed with bp.
2000-07-21 14:54:13 +00:00
peter
ea11d3cf1c Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
2000-05-27 01:14:33 +00:00
peter
1b38e19179 Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
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.
2000-05-04 12:08:52 +00:00
bp
aed3eeb310 Uncomment ETHER_II frame and remove BPF related variable. 2000-04-06 03:09:56 +00:00
bp
fc532071c9 Allow if_ef driver to be compiled into kernel. 2000-01-23 03:35:11 +00:00
bp
908abcafb0 Add module for if_ef driver and make it compile. 1999-12-13 16:42:17 +00:00