]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/bwn/Makefile
Import NetBSD's blacklist source from vendor tree
[FreeBSD/FreeBSD.git] / sys / modules / bwn / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/bwn
4
5 KMOD=   if_bwn
6 SRCS=   if_bwn.c if_bwnreg.h if_bwnvar.h
7 SRCS+=  if_bwn_util.c
8
9 # PHY
10 SRCS+=  if_bwn_phy_common.c
11 SRCS+=  if_bwn_phy_g.c if_bwn_phy_lp.c
12 SRCS+=  if_bwn_phy_n.c
13
14 # Other
15 SRCS+=  device_if.h bus_if.h pci_if.h
16
17 # Uncomment this for the GPL PHY code; this requires the
18 # module be built with BWN_GPL_PHY set in the kernel
19 # configuration.
20
21 #.PATH: ${.CURDIR}/../../gnu/dev/bwn/phy_n
22 #SRCS+=  if_bwn_radio_2055.c
23 #SRCS+=  if_bwn_radio_2056.c
24 #SRCS+=  if_bwn_radio_2057.c
25 #SRCS+=  if_bwn_phy_n_tables.c
26 #SRCS+=  if_bwn_phy_n_ppr.c
27 #SRCS+=  if_bwn_phy_n_core.c
28
29 .include <bsd.kmod.mk>
30
31 # XXX Work around clang warning, until maintainer approves fix.
32 CWARNFLAGS.if_bwn.c=    ${NO_WSOMETIMES_UNINITIALIZED}
33 CWARNFLAGS.if_bwn_phy_g.c=      ${NO_WSOMETIMES_UNINITIALIZED}
34 CWARNFLAGS.if_bwn_phy_lp.c=     ${NO_WSOMETIMES_UNINITIALIZED}