7485f5be0c
This package is the userspace daemon, client tool, and library for the team device implementation in the Linux kernel. Team is an alternative to the traditional bonding driver and provides more "runners", or modes, of operation for aggregates. None of these modes are enabled by default and need a custom kernel config. Backported the three most relevant patches to fix musl build, revert of a fix prior to 1.31 that can cause high CPU load, and a fix to prevent failing to stop the daemon due to too short timeout for kill command. Signed-off-by: Joachim Wiberg <troglobit@gmail.com> [yann.morin.1998@free.fr: slight reword in help text] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
25 lines
823 B
Makefile
25 lines
823 B
Makefile
################################################################################
|
|
#
|
|
# libteam
|
|
#
|
|
################################################################################
|
|
|
|
LIBTEAM_VERSION = 1.31
|
|
LIBTEAM_SITE = $(call github,jpirko,libteam,v$(LIBTEAM_VERSION))
|
|
LIBTEAM_CPE_ID_VENDOR = libteam
|
|
LIBTEAM_LICENSE = LGPL-2.1+
|
|
LIBTEAM_LICENSE_FILES = COPYING
|
|
LIBTEAM_DEPENDENCIES = host-pkgconf jansson libdaemon libnl
|
|
LIBTEAM_AUTORECONF = YES
|
|
LIBTEAM_INSTALL_STAGING = YES
|
|
|
|
# Note: this enables basic team support, use a custom kernel config, or
|
|
# fragment, to enable team modes, e.g. activebackup or loadbalance
|
|
define LIBTEAM_LINUX_CONFIG_FIXUPS
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NETDEVICES)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NET_CORE)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NET_TEAM)
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|