gnu: rtl8821ce-linux-module: Honour PARALLEL-BUILD?.
* gnu/packages/linux.scm (rtl8821ce-linux-module)[arguments]: Spawn multiple build make jobs if requested.
This commit is contained in:
parent
0d38f82120
commit
aa4d18f33c
|
@ -1401,8 +1401,13 @@ (define-public rtl8821ce-linux-module
|
|||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'build
|
||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||
(apply invoke "make" make-flags))))
|
||||
(lambda* (#:key (make-flags '()) (parallel-build? #t)
|
||||
#:allow-other-keys)
|
||||
(apply invoke "make"
|
||||
`(,@(if parallel-build?
|
||||
`("-j" ,(number->string (parallel-job-count)))
|
||||
'())
|
||||
,@make-flags)))))
|
||||
#:tests? #f)) ; no test suite
|
||||
(home-page "https://github.com/tomaspinho/rtl8821ce")
|
||||
(synopsis "Linux driver for Realtek RTL8821CE wireless network adapters")
|
||||
|
|
Loading…
Reference in a new issue