Properly include the 802.11n PHY support files when the BWM_GPL_PHY

option is included. Remove the comment suggesting that people
uncomment things because it is OBE.
This commit is contained in:
Warner Losh 2016-10-11 22:32:12 +00:00
parent 4b844f8d99
commit 852dd45ebc

View File

@ -14,17 +14,15 @@ SRCS+= if_bwn_phy_n.c
# Other
SRCS+= device_if.h bus_if.h pci_if.h opt_bwn.h opt_wlan.h
# Uncomment this for the GPL PHY code; this requires the
# module be built with BWN_GPL_PHY set in the kernel
# configuration.
#.PATH: ${.CURDIR}/../../gnu/dev/bwn/phy_n
#SRCS+= if_bwn_radio_2055.c
#SRCS+= if_bwn_radio_2056.c
#SRCS+= if_bwn_radio_2057.c
#SRCS+= if_bwn_phy_n_tables.c
#SRCS+= if_bwn_phy_n_ppr.c
#SRCS+= if_bwn_phy_n_core.c
# The following need the BWN_GPL_PHY kenrel option to opt-in
# to the GPL'd 802.11n PHY support for this driver.
.PATH: ${.CURDIR}/../../gnu/dev/bwn/phy_n
SRCS.BWN_GPL_PHY+= if_bwn_radio_2055.c
SRCS.BWN_GPL_PHY+= if_bwn_radio_2056.c
SRCS.BWN_GPL_PHY+= if_bwn_radio_2057.c
SRCS.BWN_GPL_PHY+= if_bwn_phy_n_tables.c
SRCS.BWN_GPL_PHY+= if_bwn_phy_n_ppr.c
SRCS.BWN_GPL_PHY+= if_bwn_phy_n_core.c
.include <bsd.kmod.mk>