Diff vendor-reset-0.1.1_pre20221205 with a vendor-reset-0.1.1_pre20221205-r1
/usr/portage/app-emulation/vendor-reset/vendor-reset-0.1.1_pre20221205-r1.ebuild 2023-10-09 14:52:28.736368331 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
inherit linux-mod toolchain-funcs |
|
6 |
inherit linux-mod-r1 |
|
7 | 7 | |
8 | 8 |
if [[ ${PV} == *9999* ]]; then |
9 | 9 |
EGIT_REPO_URI="https://github.com/gnif/vendor-reset.git" |
... | ... | |
23 | 23 | |
24 | 24 |
S="${WORKDIR}/${PN}-${EGIT_COMMIT}" |
25 | 25 | |
26 |
MODULE_NAMES="vendor-reset(extra)" |
|
26 |
CONFIG_CHECK="FTRACE KPROBES PCI_QUIRKS KALLSYMS FUNCTION_TRACER" |
|
27 | 27 | |
28 |
pkg_setup() { |
|
29 |
local CONFIG_CHECK="FTRACE KPROBES PCI_QUIRKS KALLSYMS FUNCTION_TRACER" |
|
30 |
linux-mod_pkg_setup |
|
31 |
BUILD_TARGETS="build" |
|
32 |
BUILD_PARAMS="CC=\"$(tc-getBUILD_CC)\" KDIR=${KERNEL_DIR}" |
|
28 |
src_compile() { |
|
29 |
local modlist=( vendor-reset ) |
|
30 |
local modargs=( KDIR="${KV_OUT_DIR}" ) |
|
31 |
linux-mod-r1_src_compile |
|
33 | 32 |
} |
34 | 33 | |
35 | 34 |
src_install() { |
36 |
linux-mod_src_install |
|
35 |
linux-mod-r1_src_install |
|
37 | 36 | |
38 | 37 |
insinto /etc/modules-load.d/ |
39 | 38 |
newins "${FILESDIR}"/modload.conf vendor-reset.conf |