diff options
author | Alex Griffin <a@ajgrf.com> | 2020-01-07 12:13:00 -0600 |
---|---|---|
committer | Alex Griffin <a@ajgrf.com> | 2020-01-07 12:13:00 -0600 |
commit | 304da1fffbb7a7b6efee14920a8076f08f3287ca (patch) | |
tree | d25adbbc4d5b9ce44dd082a3dc551cf879fdaf8f /nongnu | |
parent | 1f18a083c8381d20f8dc70e8744293bd30b305ea (diff) |
nongnu: intel-microcode: Use gnu-build-system.
* nongnu/packages/linux.scm (intel-microcode): Use gnu-build-system..
Diffstat (limited to 'nongnu')
-rw-r--r-- | nongnu/packages/linux.scm | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index 7f75c74..c479324 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm @@ -668,21 +668,22 @@ chipsets from Broadcom: (sha256 (base32 "0pzi5qmrcrdf6nsds4bvyq1hnvv9d1dlrvqrbzcrpxk84rcjwq1x")))) - (build-system trivial-build-system) + (build-system gnu-build-system) (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let* ((source (assoc-ref %build-inputs "source")) - (fw-dir (string-append %output "/lib/firmware")) - (bin-dir (string-append fw-dir "/intel-ucode"))) - (mkdir-p bin-dir) - (copy-recursively (string-append source "/intel-ucode") bin-dir) - (copy-file - (string-append source "/license") - (string-append fw-dir "/LICENSE.intel-ucode")) - #t)))) + `(#: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 "https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files") (synopsis "Processor microcode firmware for Intel CPUs") |