All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/ethtool: bump to 5.6
@ 2020-06-02 12:03 Matt Weber
  2020-06-02 20:16 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Weber @ 2020-06-02 12:03 UTC (permalink / raw)
  To: buildroot

 * New dependency was added on libmnl (netlink library)
 * Now requires an updated pkg-config

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 package/ethtool/Config.in    | 1 +
 package/ethtool/ethtool.hash | 6 +++---
 package/ethtool/ethtool.mk   | 3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/package/ethtool/Config.in b/package/ethtool/Config.in
index 48173bfe2e..264b7b99c0 100644
--- a/package/ethtool/Config.in
+++ b/package/ethtool/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ETHTOOL
 	bool "ethtool"
+	select BR2_PACKAGE_LIBMNL
 	help
 	  ethtool is a small utility for examining and tuning your
 	  ethernet-based network interface.
diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash
index 86c71d7380..67fe263315 100644
--- a/package/ethtool/ethtool.hash
+++ b/package/ethtool/ethtool.hash
@@ -1,5 +1,5 @@
 # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc
-sha256	22f81e4927d6eb6a13a259d705248a96005fce2005e15257f639f5a1c8c52b6b	ethtool-5.4.tar.xz
+sha256  ca0f1b526dad5153f0aa0f1eb3c17c31770c75a74f70af622b1a83ae38043995  ethtool-5.6.tar.xz
 # Locally calculated
-sha256	8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643	COPYING
-sha256	5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1	LICENSE
+sha256	8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
+sha256	5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1  LICENSE
diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk
index ce4f2d862d..70471d8ad6 100644
--- a/package/ethtool/ethtool.mk
+++ b/package/ethtool/ethtool.mk
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-ETHTOOL_VERSION = 5.4
+ETHTOOL_VERSION = 5.6
 ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz
 ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool
+ETHTOOL_DEPENDENCIES = host-pkgconf libmnl
 ETHTOOL_LICENSE = GPL-2.0
 ETHTOOL_LICENSE_FILES = LICENSE COPYING
 ETHTOOL_CONF_OPTS = \
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] package/ethtool: bump to 5.6
  2020-06-02 12:03 [Buildroot] [PATCH] package/ethtool: bump to 5.6 Matt Weber
@ 2020-06-02 20:16 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-06-02 20:16 UTC (permalink / raw)
  To: buildroot

On Tue,  2 Jun 2020 07:03:36 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:

>  * New dependency was added on libmnl (netlink library)
>  * Now requires an updated pkg-config

libmnl is not required. From configure.ac:

AC_ARG_ENABLE(netlink,
              [  --enable-netlink         enable netlink interface (enabled by default)],
              ,
              enable_netlink=yes)
if test x$enable_netlink = xyes; then
    PKG_PROG_PKG_CONFIG
    PKG_CHECK_MODULES([MNL], [libmnl])
    AC_DEFINE(ETHTOOL_ENABLE_NETLINK, 1,
              Define this to support netlink interface to talk to kernel.)
fi

So what we need is:

ifeq ($(BR2_PACKAGE_LIBMNL),y)
ETHTOOL_DEPENDENCIES += host-pkgconf libmnl
ETHTOOL_CONF_OPTS += --enable-netlink
else
ETHTOOL_CONF_OPTS += --disable-netlink
endif

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-02 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02 12:03 [Buildroot] [PATCH] package/ethtool: bump to 5.6 Matt Weber
2020-06-02 20:16 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.