nongnu: linux-firmware: Use make-flags to set install dir.

* nongnu/packages/linux.scm (linux-firmware)[arguments]: Use #:make-flags to
specify DESTDIR. Remove custom 'install phase.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Timotej Lazar 2021-08-20 23:22:38 +02:00 committed by Jonathan Brielmaier
parent 4028f64b58
commit 9bb89eff12
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -104,13 +104,9 @@ System on hardware which requires nonfree software to function.")))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f `(#:tests? #f
#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(invoke "make" "install"
(string-append "DESTDIR=" out)))))
(delete 'validate-runpath)))) (delete 'validate-runpath))))
(home-page (home-page
"https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git") "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git")