363b28ca4f
Switch back to upstream-provided tarball after upstream fixed the inclusion of header files needed for older kernels: https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=988279e051e7a51d0b9e54a7366602ba2879d114 Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
710 B
Makefile
24 lines
710 B
Makefile
################################################################################
|
|
#
|
|
# ethtool
|
|
#
|
|
################################################################################
|
|
|
|
ETHTOOL_VERSION = 6.6
|
|
ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz
|
|
ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool
|
|
ETHTOOL_LICENSE = GPL-2.0
|
|
ETHTOOL_LICENSE_FILES = LICENSE COPYING
|
|
ETHTOOL_CPE_ID_VENDOR = kernel
|
|
ETHTOOL_CONF_OPTS = \
|
|
$(if $(BR2_PACKAGE_ETHTOOL_PRETTY_PRINT),--enable-pretty-dump,--disable-pretty-dump)
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBMNL),y)
|
|
ETHTOOL_DEPENDENCIES += host-pkgconf libmnl
|
|
ETHTOOL_CONF_OPTS += --enable-netlink
|
|
else
|
|
ETHTOOL_CONF_OPTS += --disable-netlink
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|