xref: /OK3568_Linux_fs/buildroot/package/libteam/libteam.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# libteam
4#
5################################################################################
6
7LIBTEAM_VERSION = 1.31
8LIBTEAM_SITE = $(call github,jpirko,libteam,v$(LIBTEAM_VERSION))
9LIBTEAM_LICENSE = LGPL-2.1+
10LIBTEAM_LICENSE_FILES = COPYING
11LIBTEAM_DEPENDENCIES = host-pkgconf jansson libdaemon libnl
12LIBTEAM_AUTORECONF = YES
13LIBTEAM_INSTALL_STAGING = YES
14
15# Note: this enables basic team support, use a custom kernel config, or
16#       fragment, to enable team modes, e.g. activebackup or loadbalance
17define LIBTEAM_LINUX_CONFIG_FIXUPS
18	$(call KCONFIG_ENABLE_OPT,CONFIG_NETDEVICES)
19	$(call KCONFIG_ENABLE_OPT,CONFIG_NET_CORE)
20	$(call KCONFIG_ENABLE_OPT,CONFIG_NET_TEAM)
21endef
22
23$(eval $(autotools-package))
24