xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Makefile for the Broadcom network device drivers.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunobj-$(CONFIG_B44) += b44.o
7*4882a593Smuzhiyunobj-$(CONFIG_BCM63XX_ENET) += bcm63xx_enet.o
8*4882a593Smuzhiyunobj-$(CONFIG_BCMGENET) += genet/
9*4882a593Smuzhiyunobj-$(CONFIG_BNX2) += bnx2.o
10*4882a593Smuzhiyunobj-$(CONFIG_CNIC) += cnic.o
11*4882a593Smuzhiyunobj-$(CONFIG_BNX2X) += bnx2x/
12*4882a593Smuzhiyunobj-$(CONFIG_SB1250_MAC) += sb1250-mac.o
13*4882a593Smuzhiyunobj-$(CONFIG_TIGON3) += tg3.o
14*4882a593Smuzhiyunobj-$(CONFIG_BGMAC) += bgmac.o
15*4882a593Smuzhiyunobj-$(CONFIG_BGMAC_BCMA) += bgmac-bcma.o bgmac-bcma-mdio.o
16*4882a593Smuzhiyunobj-$(CONFIG_BGMAC_PLATFORM) += bgmac-platform.o
17*4882a593Smuzhiyunobj-$(CONFIG_SYSTEMPORT) += bcmsysport.o
18*4882a593Smuzhiyunobj-$(CONFIG_BNXT) += bnxt/
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun# FIXME: temporarily silence -Warray-bounds on non W=1+ builds
21*4882a593Smuzhiyunifndef KBUILD_EXTRA_WARN
22*4882a593SmuzhiyunCFLAGS_tg3.o += -Wno-array-bounds
23*4882a593Smuzhiyunendif
24