mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-26 18:35:19 +01:00
gnu: intel-microcode: Use copy-build-system.
* nongnu/packages/linux.scm (intel-microcode): Use copy-build-system.
This commit is contained in:
parent
738b9bdfdc
commit
62bf07f957
1 changed files with 3 additions and 16 deletions
|
@ -26,6 +26,7 @@
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
|
#:use-module (guix build-system copy)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system linux-module)
|
#:use-module (guix build-system linux-module)
|
||||||
#:use-module (guix build-system trivial)
|
#:use-module (guix build-system trivial)
|
||||||
|
@ -668,22 +669,8 @@ chipsets from Broadcom:
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0pzi5qmrcrdf6nsds4bvyq1hnvv9d1dlrvqrbzcrpxk84rcjwq1x"))))
|
"0pzi5qmrcrdf6nsds4bvyq1hnvv9d1dlrvqrbzcrpxk84rcjwq1x"))))
|
||||||
(build-system gnu-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments '(#:install-plan '(("intel-ucode" "lib/firmware/"))))
|
||||||
`(#:tests? #f
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(delete 'configure)
|
|
||||||
(delete 'build)
|
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(fw-dir (string-append out "/lib/firmware"))
|
|
||||||
(bin-dir (string-append fw-dir "/intel-ucode")))
|
|
||||||
(mkdir-p bin-dir)
|
|
||||||
(copy-recursively "intel-ucode" bin-dir)
|
|
||||||
#t)))
|
|
||||||
(delete 'validate-runpath))))
|
|
||||||
(home-page
|
(home-page
|
||||||
"https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files")
|
"https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files")
|
||||||
(synopsis "Processor microcode firmware for Intel CPUs")
|
(synopsis "Processor microcode firmware for Intel CPUs")
|
||||||
|
|
Loading…
Reference in a new issue