public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ionen Wolkens <ionen@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [PATCH 4/4] app-admin/ryzen_smu: migrate to linux-mod-r1
Date: Fri, 26 May 2023 00:02:19 -0400	[thread overview]
Message-ID: <20230526040219.10852-5-ionen@gentoo.org> (raw)
In-Reply-To: <20230526040219.10852-1-ionen@gentoo.org>

Randomly migrating myself as a very simple migration example (don't
actually use this, no hardware). Notably makes the CC_IS_CLANG checks
from the old ebuild unnecessary.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
---
 .../ryzen_smu-0.1.2_p20211205-r1.ebuild       | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205-r1.ebuild

diff --git a/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205-r1.ebuild b/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205-r1.ebuild
new file mode 100644
index 000000000000..f1b8625e5b94
--- /dev/null
+++ b/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205-r1.ebuild
@@ -0,0 +1,28 @@
+# 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
+}
-- 
2.40.1



      parent reply	other threads:[~2023-05-26  4:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-26  4:02 [gentoo-dev] [PATCH 0/4] linux-mod-r1.eclass: new eclass, rewrite of -r0 Ionen Wolkens
2023-05-26  4:02 ` [gentoo-dev] [PATCH 1/4] profiles/use.desc: create USE=strip global USE flag Ionen Wolkens
2023-05-26  5:06   ` Sam James
2023-05-26  5:25     ` Ionen Wolkens
2023-05-26  4:02 ` [gentoo-dev] [PATCH 2/4] profiles/use.desc: create USE=modules-sign " Ionen Wolkens
2023-05-26  4:02 ` [gentoo-dev] [PATCH 3/4] linux-mod-r1.eclass: new eclass, rewrite of linux-mod.eclass Ionen Wolkens
2023-05-28 12:41   ` [gentoo-dev] [PATCH v2] " Ionen Wolkens
2023-05-29 13:10     ` Ionen Wolkens
2023-05-26  4:02 ` Ionen Wolkens [this message]

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=20230526040219.10852-5-ionen@gentoo.org \
    --to=ionen@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