2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-04-11 01:31:14 +02:00
|
|
|
#
|
|
|
|
# ethtool
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-04-11 01:31:14 +02:00
|
|
|
|
2020-12-30 13:51:17 +01:00
|
|
|
ETHTOOL_VERSION = 5.10
|
2013-09-06 08:14:15 +02:00
|
|
|
ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz
|
2011-12-14 16:15:16 +01:00
|
|
|
ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool
|
2017-03-30 15:43:32 +02:00
|
|
|
ETHTOOL_LICENSE = GPL-2.0
|
2018-04-13 06:51:49 +02:00
|
|
|
ETHTOOL_LICENSE_FILES = LICENSE COPYING
|
2020-12-04 16:46:01 +01:00
|
|
|
ETHTOOL_CPE_ID_VENDOR = kernel
|
2017-11-06 02:29:06 +01:00
|
|
|
ETHTOOL_CONF_OPTS = \
|
|
|
|
$(if $(BR2_PACKAGE_ETHTOOL_PRETTY_PRINT),--enable-pretty-dump,--disable-pretty-dump)
|
2006-04-11 01:31:14 +02:00
|
|
|
|
2020-06-03 13:04:58 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBMNL),y)
|
|
|
|
ETHTOOL_DEPENDENCIES += host-pkgconf libmnl
|
|
|
|
ETHTOOL_CONF_OPTS += --enable-netlink
|
|
|
|
else
|
|
|
|
ETHTOOL_CONF_OPTS += --disable-netlink
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|