summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/Makefile
blob: 4226f295e946ce09facc754ac1977a594719df44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Makefile for the Ethernet Bonding driver
#

include $(srctree)/drivers/net/ethernet/freescale/fman/ncsw_config.mk
ccflags-y += \
	-I$(srctree)/drivers/net/ethernet/freescale/dpa \
	-I$(srctree)/drivers/net/ethernet/freescale/fman/src/wrapper \
	-I$(srctree)/drivers/net/ethernet/freescale/fman/Peripherals/FM/Pcd \
	-I$(srctree)/drivers/net/ethernet/freescale/fman/Peripherals/FM/inc

obj-$(CONFIG_BONDING) += bonding.o

bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_debugfs.o

proc-$(CONFIG_PROC_FS) += bond_procfs.o
bonding-objs += $(proc-y)

hash_pcd_based_xmit_frames_distribution-$(CONFIG_HW_DISTRIBUTION_WITH_OH) += \
	hw_distribution.o hw_oh_pcd.o

bonding-objs += $(hash_pcd_based_xmit_frames_distribution-y)