e60fde3451
Upstream tarball does not include several header files leading to build errors with older kernels. For details see: https://patchwork.kernel.org/project/netdevbpf/patch/20231005163053.1800218-1-florian.fainelli@broadcom.com/ Switch _SITE to git snapshot and add _AUTORECONF = YES which needs host-pkgconf to fix subsequent configure error: ./configure: line 4723: PKG_PROG_PKG_CONFIG: command not found ./configure: line 5055: syntax error near unexpected token `MNL,' ./configure: line 5055: ` PKG_CHECK_MODULES(MNL, libmnl)' Fixes: http://autobuild.buildroot.net/results/69e/69e01b7f370920630d132fc43a40104fa5b3959f/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
812 B
Makefile
27 lines
812 B
Makefile
################################################################################
|
|
#
|
|
# ethtool
|
|
#
|
|
################################################################################
|
|
|
|
ETHTOOL_VERSION = 6.5
|
|
ETHTOOL_SITE = https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/snapshot
|
|
# needed only for autoreconf
|
|
ETHTOOL_DEPENDENCIES = host-pkgconf
|
|
# GIT version, shipped without configure
|
|
ETHTOOL_AUTORECONF = YES
|
|
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))
|