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