nongnu: ath3k-firmware: Include licenses in output.
* nongnu/packages/linux.scm (ath3k-firmware)[arguments]: Include licenses in output.
This commit is contained in:
parent
d62d274fb3
commit
50b80b7c71
|
@ -109,16 +109,22 @@ hardware in the Linux kernel.")
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build utils))
|
`(#:modules ((guix build utils))
|
||||||
#:builder (begin
|
#:builder
|
||||||
(use-modules (guix build utils))
|
(begin
|
||||||
(let ((source (assoc-ref %build-inputs "source"))
|
(use-modules (guix build utils))
|
||||||
(fw-dir (string-append %output "/lib/firmware")))
|
(let ((source (assoc-ref %build-inputs "source"))
|
||||||
(mkdir-p fw-dir)
|
(fw-dir (string-append %output "/lib/firmware")))
|
||||||
(copy-file (string-append source "/ath3k-1.fw")
|
(mkdir-p fw-dir)
|
||||||
(string-append fw-dir "/ath3k-1.fw"))
|
(for-each (lambda (file)
|
||||||
(copy-recursively (string-append source "/ar3k")
|
(copy-file (string-append source "/" file)
|
||||||
(string-append fw-dir "/ar3k"))
|
(string-append fw-dir "/" file)))
|
||||||
#t))))
|
(list "ath3k-1.fw"
|
||||||
|
"LICENCE.atheros_firmware"
|
||||||
|
"LICENSE.QualcommAtheros_ar3k"
|
||||||
|
"WHENCE"))
|
||||||
|
(copy-recursively (string-append source "/ar3k")
|
||||||
|
(string-append fw-dir "/ar3k"))
|
||||||
|
#t))))
|
||||||
(synopsis "Nonfree firmware blobs for the ath3k Bluetooth driver")
|
(synopsis "Nonfree firmware blobs for the ath3k Bluetooth driver")
|
||||||
(description "Nonfree firmware blobs for the ath3k Bluetooth driver. ath3k
|
(description "Nonfree firmware blobs for the ath3k Bluetooth driver. ath3k
|
||||||
is the Linux Bluetooth driver for Atheros AR3011/AR3012 Bluetooth chipsets.")
|
is the Linux Bluetooth driver for Atheros AR3011/AR3012 Bluetooth chipsets.")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user