mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
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 <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: Andy Gospodarek <[email protected]> Signed-off-by: David S. Miller <[email protected]>
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)
|
|
|