mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2026-01-25 03:54:58 -06:00
nongnu: rtl8192eu-linux-module: Revise package style.
* nongnu/packages/linux.scm (rtl8192eu-linux-module) [arguments]: Use gexps. <#:make-flags>: Move KSRC to... <#:phases>: ...here. Allow building in parallel.
This commit is contained in:
parent
1399697b62
commit
3a69a9542b
1 changed files with 17 additions and 11 deletions
|
|
@ -964,17 +964,23 @@ package contains nonfree firmware for the following chips:
|
|||
"0lklpn1gl202i49xjrd735pl595ynh2wpkdk1nlpcvxssi3qi0l7"))))
|
||||
(build-system linux-module-build-system)
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list "CC=gcc"
|
||||
(string-append "KSRC="
|
||||
(assoc-ref %build-inputs "linux-module-builder")
|
||||
"/lib/modules/build"))
|
||||
(list #:tests? #f ; no test suite
|
||||
#:make-flags
|
||||
#~(list (string-append "CC=" #$(cc-for-target)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'build
|
||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||
(apply invoke "make" make-flags))))
|
||||
#:tests? #f)) ; no test suite
|
||||
(lambda* (#:key (make-flags '()) (parallel-build? #t) inputs
|
||||
#:allow-other-keys)
|
||||
(apply invoke "make"
|
||||
(string-append "KSRC="
|
||||
(search-input-directory
|
||||
inputs "lib/modules/build"))
|
||||
`(,@(if parallel-build?
|
||||
`("-j" ,(number->string
|
||||
(parallel-job-count)))
|
||||
'())
|
||||
,@make-flags)))))))
|
||||
(home-page "https://github.com/clnhub/rtl8192eu-linux")
|
||||
(synopsis "Linux driver for Realtek RTL8192EU wireless network adapters")
|
||||
(description "This is Realtek's RTL8192EU Linux driver for wireless
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue