Message ID | 20240401031004.1159713-3-liuhangbin@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a0393e3e3ddbb177b25f0a978c72f5efe942fe7d |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | doc/netlink: add a YAML spec for team | expand |
Mon, Apr 01, 2024 at 05:10:02AM CEST, liuhangbin@gmail.com wrote: >Similar with commit 08d323234d10 ("net: fou: rename the source for linking"), >We'll need to link two objects together to form the team module. >This means the source can't be called team, the build system expects >team.o to be the combined object. > >Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com>
diff --git a/drivers/net/team/Makefile b/drivers/net/team/Makefile index f582d81a5091..244db32c1060 100644 --- a/drivers/net/team/Makefile +++ b/drivers/net/team/Makefile @@ -3,6 +3,7 @@ # Makefile for the network team driver # +team-y:= team_core.o obj-$(CONFIG_NET_TEAM) += team.o obj-$(CONFIG_NET_TEAM_MODE_BROADCAST) += team_mode_broadcast.o obj-$(CONFIG_NET_TEAM_MODE_ROUNDROBIN) += team_mode_roundrobin.o diff --git a/drivers/net/team/team.c b/drivers/net/team/team_core.c similarity index 100% rename from drivers/net/team/team.c rename to drivers/net/team/team_core.c
Similar with commit 08d323234d10 ("net: fou: rename the source for linking"), We'll need to link two objects together to form the team module. This means the source can't be called team, the build system expects team.o to be the combined object. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> --- drivers/net/team/Makefile | 1 + drivers/net/team/{team.c => team_core.c} | 0 2 files changed, 1 insertion(+) rename drivers/net/team/{team.c => team_core.c} (100%)