mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-emulation/vendor-reset: drop 0.1.1_pre20221205, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
8ba35ec50e
commit
50b87b8cd4
@ -1,40 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit linux-mod toolchain-funcs
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
EGIT_REPO_URI="https://github.com/gnif/vendor-reset.git"
|
|
||||||
EGIT_BRANCH="master"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
EGIT_COMMIT="4b466e92a2d9f76ce1082cde982c7be0be91e248"
|
|
||||||
SRC_URI="https://github.com/gnif/vendor-reset/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Linux kernel vendor specific hardware reset module"
|
|
||||||
HOMEPAGE="https://github.com/gnif/vendor-reset"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
|
||||||
|
|
||||||
MODULE_NAMES="vendor-reset(extra)"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
local CONFIG_CHECK="FTRACE KPROBES PCI_QUIRKS KALLSYMS FUNCTION_TRACER"
|
|
||||||
linux-mod_pkg_setup
|
|
||||||
BUILD_TARGETS="build"
|
|
||||||
BUILD_PARAMS="CC=\"$(tc-getBUILD_CC)\" KDIR=${KERNEL_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
linux-mod_src_install
|
|
||||||
|
|
||||||
insinto /etc/modules-load.d/
|
|
||||||
newins "${FILESDIR}"/modload.conf vendor-reset.conf
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user