Сравнение ena-driver-2.6.1 с ena-driver-2.8.9
/usr/portage/net-misc/ena-driver/ena-driver-2.8.9.ebuild 2023-10-09 14:52:34.644368480 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit linux-info linux-mod |
|
6 |
inherit linux-mod-r1 |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Amazon EC2 Elastic Network Adapter (ENA) kernel driver" |
9 | 9 |
HOMEPAGE="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html" |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~amd64" |
|
14 |
KEYWORDS="~amd64 ~arm64" |
|
15 | 15 | |
16 | 16 |
BDEPEND="app-arch/unzip" |
17 | 17 | |
18 | 18 |
S="${WORKDIR}/amzn-drivers-ena_linux_${PV}/kernel/linux/ena" |
19 | 19 | |
20 |
MODULE_NAMES="ena(net:${S}:${S})" |
|
21 |
BUILD_TARGETS="all" |
|
22 | ||
23 | 20 |
CONFIG_CHECK="PCI_MSI !CPU_BIG_ENDIAN DIMLIB" |
24 | ||
25 |
pkg_setup() { |
|
26 |
linux-mod_pkg_setup |
|
27 |
BUILD_PARAMS="CONFIG_MODULE_SIG=n KERNEL_DIR=${KV_DIR}" |
|
28 |
} |
|
29 | ||
30 |
src_prepare() { |
|
31 |
default |
|
32 | ||
33 |
sed -i -e 's!/lib/modules/\$(BUILD_KERNEL)/build!$(KERNEL_DIR)!g' \ |
|
34 |
"Makefile" || die "Unable to fix Makefile" |
|
35 |
} |
|
36 | ||
37 |
src_install() { |
|
38 |
linux-mod_src_install |
|
39 |
dodoc README RELEASENOTES.md |
|
21 |
DOCS=( |
|
22 |
README.rst |
|
23 |
RELEASENOTES.md |
|
24 |
) |
|
25 | ||
26 |
src_compile() { |
|
27 |
local modlist=( ena=net ) |
|
28 |
local modargs=( CONFIG_MODULE_SIG=n BUILD_KERNEL="${KV_FULL}" ) |
|
29 |
linux-mod-r1_src_compile |
|
40 | 30 |
} |