From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
To: 57537@debbugs.gnu.org
Cc: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Subject: [bug#57537] [PATCH v2] gnu: Add ec.
Date: Sat, 24 Sep 2022 15:28:15 +0200 [thread overview]
Message-ID: <20220924132815.1603-1-GNUtoo@cyberdimension.org> (raw)
In-Reply-To: <20220902020049.15420-1-GNUtoo@cyberdimension.org>
* gnu/packages/linux.scm (ec): New variable.
---
gnu/packages/linux.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 306c18e398..0b38bc03f8 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -64,6 +64,7 @@
;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2022 Rene Saavedra <nanuui@protonmail.com>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;;
;;; This file is part of GNU Guix.
@@ -1342,6 +1343,31 @@ (define-public librem-ec-acpi-linux-module
and the notification, WiFi, and Bluetooth LED.")
(license license:gpl2)))
+(define-public ec
+ (package
+ (name "ec")
+ (version (package-version linux-libre))
+ (source (package-source linux-libre))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:make-flags #~(list (string-append "sbindir="
+ #$output "/sbin")
+ "INSTALL=install" "STRIPCMD=true")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'enter-subdirectory
+ (lambda _
+ (chdir "tools/power/acpi/tools/ec")))
+ (delete 'configure)) ;no configure script
+ #:tests? #f)) ;no tests
+ (home-page (package-home-page linux-libre))
+ (synopsis
+ "Low level utility for reading or writing @acronym{EC, Embedded Controller} registers")
+ (description
+ "This utility can read or write specific registers or all the available
+registers of the @acronym{EC, Embedded Controller} supported by the
+@code{ec_sys} Linux driver")
+ (license license:gpl2)))
+
(define-public lkrg
(package
(name "lkrg")
base-commit: dc7191302e6d099a26673e08b78eb5f4b2a2b17b
--
2.37.3
next prev parent reply other threads:[~2022-09-24 13:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-02 2:00 [bug#57537] [PATCH] gnu: Add ec Denis 'GNUtoo' Carikli
2022-09-02 2:14 ` Denis 'GNUtoo' Carikli
2022-09-02 2:32 ` [bug#57537] [PATCH v2] " Denis 'GNUtoo' Carikli
2022-09-02 4:47 ` Tobias Geerinckx-Rice via Guix-patches via
2022-09-03 20:32 ` Maxime Devos
2022-09-06 4:29 ` Denis 'GNUtoo' Carikli
2022-09-24 13:28 ` Denis 'GNUtoo' Carikli [this message]
2022-09-26 20:42 ` bug#57537: [PATCH] " Ludovic Courtès
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=20220924132815.1603-1-GNUtoo@cyberdimension.org \
--to=gnutoo@cyberdimension.org \
--cc=57537@debbugs.gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.