Unconditinally turn on VLAN support when building fxp as a module, since
it may be plugged into a kernel that supports VLANs. If the kernel is not VLAN aware, things will still work as before. Modules don't really have option support, so this is somewhat of a hack.
This commit is contained in:
parent
8474e78ca6
commit
6b3a30c3ec
@ -7,6 +7,6 @@ SRCS= if_fxp.c opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h miibus_if.h
|
||||
|
||||
CLEANFILES= vlan.h
|
||||
vlan.h:
|
||||
touch vlan.h
|
||||
echo '#define NVLAN 1' > vlan.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user