Makefile revision 300020
1203945Sweongyo# $FreeBSD: head/sys/modules/bwn/Makefile 300020 2016-05-17 07:15:25Z adrian $ 2203945Sweongyo 3203945Sweongyo.PATH: ${.CURDIR}/../../dev/bwn 4203945Sweongyo 5203945SweongyoKMOD= if_bwn 6203945SweongyoSRCS= if_bwn.c if_bwnreg.h if_bwnvar.h 7299772SadrianSRCS+= if_bwn_util.c 8299772Sadrian 9299772Sadrian# PHY 10299772SadrianSRCS+= if_bwn_phy_common.c 11298948SadrianSRCS+= if_bwn_phy_g.c if_bwn_phy_lp.c 12300020SadrianSRCS+= if_bwn_phy_n.c 13299772Sadrian 14299772Sadrian# Other 15203945SweongyoSRCS+= device_if.h bus_if.h pci_if.h 16203945Sweongyo 17300020Sadrian# Uncomment this for the GPL PHY code; this requires the 18300020Sadrian# module be built with BWN_GPL_PHY set in the kernel 19300020Sadrian# configuration. 20300020Sadrian 21300020Sadrian#.PATH: ${.CURDIR}/../../gnu/dev/bwn/phy_n 22300020Sadrian#SRCS+= if_bwn_radio_2055.c 23300020Sadrian#SRCS+= if_bwn_radio_2056.c 24300020Sadrian#SRCS+= if_bwn_radio_2057.c 25300020Sadrian#SRCS+= if_bwn_phy_n_tables.c 26300020Sadrian#SRCS+= if_bwn_phy_n_ppr.c 27300020Sadrian#SRCS+= if_bwn_phy_n_core.c 28300020Sadrian 29203945Sweongyo.include <bsd.kmod.mk> 30239462Sdim 31239462Sdim# XXX Work around clang warning, until maintainer approves fix. 32239462SdimCWARNFLAGS.if_bwn.c= ${NO_WSOMETIMES_UNINITIALIZED} 33298948SadrianCWARNFLAGS.if_bwn_phy_g.c= ${NO_WSOMETIMES_UNINITIALIZED} 34298948SadrianCWARNFLAGS.if_bwn_phy_lp.c= ${NO_WSOMETIMES_UNINITIALIZED} 35