mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-19 00:09:37 +03:00
app-admin/ryzen_smu: drop 0.1.2_p20211205, 0.1.2_p20211205-r1, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST ryzen_smu-0.1.2_p20211205.tar.xz 386260 BLAKE2B eea0466f6abd93a18c670fbbf603be7efb60807865151543341b6a0a9f248eff8a99d8ecda864bebab6e5e2471ff7239681a83ae9b3dded3b1350a7f363ee62c SHA512 93f7eaac4811ac6e3d46abeb012b1ff4e334fc9247a3747ca67489a35ea04dce20806ae2e57f46e930e5238d1d2a966e8d0b83f8bf090a735d0c2d078f3256f3
|
||||
DIST ryzen_smu-v0.1.5.tar.bz2 415723 BLAKE2B 0fed89aad85a5080d4c1a6ecdaaef6ffe2b70f0cebbf58392c725f1aa626151e4b5335096bd63cf73ff29d6f5768ce6e0a844dc7030e8c1e4dc5e04990521651 SHA512 5793beae8204a16800ed876da2a07d2f477a21cef706fed6076e1dcc6e74118b7c45a330e264302d644fdb49f7c44e4fca53dc67e43b2f2a62b3b1ea4ad00d8f
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-mod-r1
|
||||
|
||||
DESCRIPTION="Kernel driver for AMD Ryzen's System Management Unit"
|
||||
HOMEPAGE="https://github.com/leogx9r/ryzen_smu"
|
||||
SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
src_compile() {
|
||||
local modlist=( ryzen_smu )
|
||||
local modargs=( KERNEL_BUILD="${KV_OUT_DIR}" )
|
||||
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod-r1_src_install
|
||||
|
||||
insinto /usr/lib/modules-load.d
|
||||
doins "${FILESDIR}"/ryzen_smu.conf
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit linux-mod linux-info toolchain-funcs
|
||||
|
||||
SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DESCRIPTION="Kernel driver for AMD Ryzen's System Management Unit"
|
||||
HOMEPAGE="https://github.com/leogx9r/ryzen_smu"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
MODULE_NAMES="ryzen_smu(misc)"
|
||||
|
||||
pkg_setup() {
|
||||
linux_config_exists
|
||||
|
||||
linux-mod_pkg_setup
|
||||
|
||||
BUILD_TARGETS="modules"
|
||||
BUILD_PARAMS="KERNEL_BUILD=${KERNEL_DIR}"
|
||||
if linux_chkconfig_present CC_IS_CLANG; then
|
||||
BUILD_PARAMS+=" CC=${CHOST}-clang"
|
||||
if linux_chkconfig_present LD_IS_LLD; then
|
||||
BUILD_PARAMS+=' LD=ld.lld'
|
||||
if linux_chkconfig_present LTO_CLANG_THIN; then
|
||||
# kernel enables cache by default leading to sandbox violations
|
||||
BUILD_PARAMS+=' ldflags-y=--thinlto-cache-dir= LDFLAGS_MODULE=--thinlto-cache-dir='
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
insinto /usr/lib/modules-load.d/
|
||||
newins "${FILESDIR}"/ryzen_smu.conf ryzen_smu.conf
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user