initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_ETHTOOL
|
||||
bool "ethtool"
|
||||
help
|
||||
ethtool is a small utility for examining and tuning your
|
||||
ethernet-based network interface.
|
||||
|
||||
https://www.kernel.org/pub/software/network/ethtool/
|
||||
|
||||
config BR2_PACKAGE_ETHTOOL_PRETTY_PRINT
|
||||
bool "enable pretty printing"
|
||||
default y
|
||||
depends on BR2_PACKAGE_ETHTOOL
|
||||
help
|
||||
Enables ethtool's pretty printing for drivers
|
||||
and SFP modules.
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc
|
||||
sha256 f5ddfa9c75053d8011b8c8c99ec4e2d3c83cd1972f638692d62e37fa3ef36f07 ethtool-5.12.tar.xz
|
||||
# Locally calculated
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE
|
||||
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# ethtool
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ETHTOOL_VERSION = 5.12
|
||||
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))
|
||||
Reference in New Issue
Block a user