opnsense-src/sys/modules
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
..
3dfx Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
aac
accf_data
accf_http
acpi Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
agp Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
aha Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
ahb Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
aic
aic7xxx
aio
amd
amr
an Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
aout
apm Rename from apm_bioscall.s to apm_bioscall.S for removing a special rule 2005-04-20 12:28:20 +00:00
ar Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
arcmsr Add the Areca SATA RAID driver (arcmsr). This supports the ARC-11xx and 12xx 2005-03-31 18:19:55 +00:00
arcnet Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
arl Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
asr Unbreak buildworld on i386 when MODULES_WITH_WORLD is defined. 2005-03-23 17:13:08 +00:00
ata Connect the atapicam module to the build. 2005-04-05 02:05:01 +00:00
ath Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
ath_hal
ath_rate_amrr Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
ath_rate_onoe Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
ath_rate_sample Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
aue Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
auxio Add missing ofw_bus_if.h to SRCS. 2005-02-25 06:59:56 +00:00
awi Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
axe Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
bfe Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
bge Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
bios
bktr Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
cam Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
canbepm
canbus
cardbus
cbb
cd9660
cd9660_iconv
cdce Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
ciss
cm
coda
coda5 Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
coff
cp Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
cpufreq Add a driver for SMI-based SpeedStep. The hardware supports two frequency 2005-04-19 16:38:24 +00:00
crypto just use crypto/rijndael, and nuke opencrypto/rindael.[ch]. 2005-03-11 17:24:46 +00:00
cryptodev
cs
ctau Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
cue Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
cx Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
dc Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
dcons Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
dcons_crom
de Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
digi Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
dpt
drm Add the latest r300 code from r300.sf.net. This is based on the patch supplied 2005-07-20 21:10:57 +00:00
dummynet Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
ed Add if_ed_rtl80x9.c 2005-10-05 05:26:03 +00:00
elink
em Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
en Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
ep Minor reorg to keep each bus' files on one line 2005-07-13 14:53:59 +00:00
esp - Try to not leak resources in the attach functions of the esp(4) SBus 2005-05-19 14:51:10 +00:00
ex
exca
ext2fs Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
fatm Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
fdc Change a directory layout for pc98. 2005-05-10 12:02:18 +00:00
fdescfs
fe
firewire Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
fxp Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
gem
geom Add -DINVARIANT_SUPPORT -DINVARIANTS 2005-09-29 11:56:16 +00:00
harp
hatm Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
hfa
hifn Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
hme
hpfs - Fix the hpfs build, hpfs_hash.c was removed from the repository. 2005-03-28 09:41:25 +00:00
hptmv Import new version of the HPTMV driver from Highpoint. The major change 2005-09-07 23:33:26 +00:00
hwpmc MFP4: 2005-06-09 19:45:09 +00:00
i2c Hook ichsmb to build. 2005-06-05 12:00:03 +00:00
ibcs2
ichwd
ida
idt
ie
if_bridge Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_disc Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_ef Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_faith Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_gif Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_gre Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_ndis Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
if_ppp Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_sl Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_stf Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_tap Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_tun Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
if_vlan Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
iir
io
ip6fw
ip_mroute_mod Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
ipdivert
ipfilter Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
ipfw
ips
ipw Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
isp
ispfw
iwi Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
ixgb Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
joy
kbdmux Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
kue Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
lge Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
libalias Don't compile legacy libalias support into kernel. 2005-06-20 08:33:29 +00:00
libiconv
libmbpool
libmchain
linprocfs
linux Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
lmc - Don't include opt_global.h, it is always included implicitly. 2005-10-05 10:07:27 +00:00
lnc
lpt
mac_biba
mac_bsdextended
mac_ifoff
mac_lomac
mac_mls
mac_none
mac_partition
mac_portacl
mac_seeotheruids
mac_stub
mac_test
mcd
md
mem
mii ciphy wasn't included here. 2005-09-30 14:54:17 +00:00
mlx
mly
mpt Update for the new and removed MPT driver files. 2005-07-10 15:07:57 +00:00
msdosfs
msdosfs_iconv
mse
my
ncp
ncv Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
ndis Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
netgraph Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
nfs4client Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
nfsclient Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
nfsserver Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
nge Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
nmdm Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
nsp Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
ntfs
ntfs_iconv
nullfs
nve Due to a CVS misfire, I ended up committing the wrong version of this. 2005-03-12 08:02:06 +00:00
nwfs Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
oldcard
oltr - Split out PCI support. 2005-02-03 23:01:01 +00:00
osf1 Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
owi
padlock Add VIA/ACE "PadLock" support as a crypto(9) driver. 2005-08-18 00:30:22 +00:00
patm Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
pccard Add pccard_device.c 2005-09-20 06:48:55 +00:00
pcfclock
pcn Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
pecoff Update to reflect takawata-san's changes to MAINTAINERS 2005-06-03 15:35:36 +00:00
pf Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
plip
pmc Change a directory layout for pc98. 2005-05-10 12:02:18 +00:00
portalfs
ppbus
ppi
pps
procfs Define the target for opt_compat.h only if KERNBUILDDIR 2005-08-18 14:50:08 +00:00
pseudofs Add PSEUDOFS_TRACE option. 2005-03-14 16:04:27 +00:00
pst
puc Create a puc module. Not connected to the build until I can test it on 2005-04-22 07:43:27 +00:00
ral Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
random
ray
rc Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
rc4
re Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
reiserfs Moving reiserfs from sys/gnu to sys/gnu/fs. This was discussed on arch@. 2005-06-18 17:10:50 +00:00
rl Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
rndtest
rp Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
rue Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
s3
safe Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
sbni
sbsh
scd
scsi_low
sem Introduce MAC Framework and MAC Policy entry points to label and control 2005-05-04 10:39:15 +00:00
sf Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
sio Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
sis Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
sk Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
slhci Add SL811 based host controller driver for CF usb host controller. 2005-07-14 15:57:01 +00:00
smbfs Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
sn
snc Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
snp Fix the module build for snp(4). 2005-09-19 10:14:05 +00:00
sound Soft volume implementation for audio devices without pcm mixer controller. 2005-10-02 15:31:03 +00:00
speaker
splash
sppp Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
sr Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
ste Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
stg Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
streams
svr4 Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
sym
syscons Build blank_saver.ko, fade_saver.ko and green_saver.ko on sparc64 2005-07-10 11:47:04 +00:00
sysvipc Fix the standalone module build. 2005-02-09 08:35:24 +00:00
ti Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
tl Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
trm Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
twa Style cleanup. 2005-08-10 04:01:21 +00:00
twe Style cleanup. 2005-08-10 04:01:21 +00:00
tx Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
txp Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
uart
ubsa
ubsec Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
ubser
ucom
ucycom
udav Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
udbp Release n_hibma's maintainership due to his ENOTIME. 2005-06-04 10:58:39 +00:00
udf
udf_iconv
ufm
ufs Remove ufs_ihash.c here as well. 2005-03-14 10:23:34 +00:00
uftdi
ugen Release n_hibma's maintainership due to his ENOTIME. 2005-06-04 10:58:39 +00:00
uhid Release n_hibma's maintainership due to his ENOTIME. 2005-06-04 10:58:39 +00:00
ukbd Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
ulpt Release n_hibma's maintainership due to his ENOTIME. 2005-06-04 10:58:39 +00:00
umapfs
umass Release n_hibma's maintainership due to his ENOTIME. 2005-06-04 10:58:39 +00:00
umct
umodem Release n_hibma's maintainership due to his ENOTIME. 2005-06-04 10:58:39 +00:00
ums Release n_hibma's maintainership due to his ENOTIME. 2005-06-04 10:58:39 +00:00
unionfs
uplcom
ural Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
urio
usb Release n_hibma's maintainership due to his ENOTIME. 2005-06-04 10:58:39 +00:00
uscanner Release n_hibma's maintainership due to his ENOTIME. 2005-06-04 10:58:39 +00:00
utopia The chip specific functions have been split out in their own 2005-02-25 09:49:29 +00:00
uvisor
uvscom
vesa
vge Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
vkbd Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
vpo
vr Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
vx Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
wb Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
wi Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
wlan Let modules use the kernel's opt_*.h files if built along with 2005-10-14 23:30:17 +00:00
wlan_acl
wlan_ccmp
wlan_tkip
wlan_wep
wlan_xauth
xe
xl Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
zlib
Makefile Sort SUBDIR and surrounding definitions. 2005-10-14 15:12:45 +00:00
Makefile.inc