Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (1 / 5) |
Uptime: | 46:06:12 |
Calls: | 422 |
Calls today: | 1 |
Files: | 1,024 |
Messages: | 90,336 |
14.03.2025 12:48, Nowa Ammerlaan пишет:
Signed-off-by: Nowa Ammerlaan<nowa@gentoo.org>
---
eclass/dkms.eclass | 545 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 545 insertions(+)
create mode 100644 eclass/dkms.eclass
diff --git a/eclass/dkms.eclass b/eclass/dkms.eclass
new file mode 100644
index 000000000000..c445b95721c3
--- /dev/null
+++ b/eclass/dkms.eclass
@@ -0,0 +1,545 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: dkms.eclass
+# @MAINTAINER:
+# Nowa Ammerlaan<nowa@gentoo.org>
+# @AUTHOR:
+# Author: Nowa Ammerlaan<nowa@gentoo.org>
+# @SUPPORTED_EAPIS: 8
+# @PROVIDES: linux-mod-r1
+# @BLURB: Helper eclass to manage DKMS modules
+# @DESCRIPTION:
+# Registers, builds and installs kernel modules using the DKMS
+# (Dynamic Kernel Module Support) system provided by sys-kernel/dkms.
+#
+# The dkms_autoconf may be used to translate the modlist and modargs
+# arrays from linux-mod-r1.eclass to a DKMS configuration file.
+#
+# If the upstream sources already contain a DKMS configuration file
+# this may be used instead of the dkms_autoconf function. In this
+# case dkms_gentoofy_conf function may be used to insert the users
+# compiler, MAKEOPTS and *FLAGS preferences into the DKMS
+# configuration file.
+#
+# The dkms_dopackage function is used to install a DKMS package, this
+# function expects to find a dkms.conf file at the path specified
+# by the argument passed to this function. If not path is specified
+# the current working directory is used.
typo: if no path is specified