From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-kernel/zenpower3/, sys-kernel/zenpower3/files/
Date: Tue, 26 Dec 2023 19:23:57 +0000 (UTC) [thread overview]
Message-ID: <1703369046.8df6f982540df61b08d4e37abaad499eb196b4bc.davidroman@gentoo> (raw)
commit: 8df6f982540df61b08d4e37abaad499eb196b4bc
Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sat Dec 23 22:02:23 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Dec 23 22:04:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8df6f982
sys-kernel/zenpower3: update EAPI 7 -> 8; migrate linux-mod -> linux-mod-r1
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>
...r3-0.2.0-use-symlink-to-detect-kernel-version.patch | 9 ---------
sys-kernel/zenpower3/zenpower3-0.2.0.ebuild | 18 ++++++++----------
2 files changed, 8 insertions(+), 19 deletions(-)
diff --git a/sys-kernel/zenpower3/files/zenpower3-0.2.0-use-symlink-to-detect-kernel-version.patch b/sys-kernel/zenpower3/files/zenpower3-0.2.0-use-symlink-to-detect-kernel-version.patch
deleted file mode 100644
index 07414cd717..0000000000
--- a/sys-kernel/zenpower3/files/zenpower3-0.2.0-use-symlink-to-detect-kernel-version.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -1,5 +1,5 @@
- VERSION := 0.2.0
--TARGET := $(shell uname -r)
-+TARGET := $(KV_FULL)
- DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
-
- KERNEL_MODULES := /lib/modules/$(TARGET)
diff --git a/sys-kernel/zenpower3/zenpower3-0.2.0.ebuild b/sys-kernel/zenpower3/zenpower3-0.2.0.ebuild
index 3d44019c83..5225717938 100644
--- a/sys-kernel/zenpower3/zenpower3-0.2.0.ebuild
+++ b/sys-kernel/zenpower3/zenpower3-0.2.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit linux-info linux-mod
+inherit linux-info linux-mod-r1
DESCRIPTION="Linux kernel driver for reading sensors of AMD Zen family CPUs"
HOMEPAGE="https://github.com/Ta180m/zenpower3"
@@ -18,20 +18,18 @@ DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
-PATCHES="${FILESDIR}/${P}-use-symlink-to-detect-kernel-version.patch"
-
CONFIG_CHECK="HWMON PCI AMD_NB"
-BUILD_TARGETS="modules"
-MODULE_NAMES="zenpower(misc:${S})"
-
src_compile() {
- export KV_FULL
- linux-mod_src_compile
+ export KERNELVERSION=${KV_FULL}
+ local modlist=(
+ zenpower=misc:::all
+ )
+ linux-mod-r1_src_compile
}
src_install() {
- linux-mod_src_install
+ linux-mod-r1_src_install
dobin zp_read_debug.sh
dodoc README.md
}
next reply other threads:[~2023-12-26 19:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-26 19:23 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-29 17:49 [gentoo-commits] repo/proj/guru:master commit in: sys-kernel/zenpower3/, sys-kernel/zenpower3/files/ Florian Schmaus
2024-12-28 20:08 Florian Schmaus
2024-12-28 20:08 Florian Schmaus
2022-03-07 15:15 Ronny Gutbrod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1703369046.8df6f982540df61b08d4e37abaad499eb196b4bc.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox