forked from Minki/linux
bd33acc3cc
V2: Move #ifdef CONFIG_PROC_FS into bonding.h, as suggested by David. bond_main.c is bloating, separate the procfs code out, move them to bond_procfs.c Signed-off-by: WANG Cong <amwang@redhat.com> Reviewed-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
305 B
Makefile
15 lines
305 B
Makefile
#
|
|
# Makefile for the Ethernet Bonding driver
|
|
#
|
|
|
|
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)
|
|
|
|
ipv6-$(subst m,y,$(CONFIG_IPV6)) += bond_ipv6.o
|
|
bonding-objs += $(ipv6-y)
|
|
|