Skip to content

Commit

Permalink
package/ethtool: switch to git snapshot
Browse files Browse the repository at this point in the history
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/[email protected]/

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 <[email protected]>
Reviewed-by: Yegor Yefremov <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
bkuhls authored and tpetazzoni committed Nov 4, 2023
1 parent e1ca260 commit e60fde3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package/ethtool/ethtool.hash
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc
sha256 814171ea4b8026b081c0741dbbf32e6968311483ecf64711232faec2ac70a14c ethtool-6.5.tar.xz
# Locally calculated
sha256 b1f5fa66f71c3bab9daeacbd77e010b52c47df0a711b216847f78405f3299189 ethtool-6.5.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE
7 changes: 5 additions & 2 deletions package/ethtool/ethtool.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
################################################################################

ETHTOOL_VERSION = 6.5
ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz
ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool
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
Expand Down

0 comments on commit e60fde3

Please sign in to comment.