mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2026-01-25 03:54:58 -06:00
nongnu: rtl8821cu-linux-module: Revise package style.
* nongnu/packages/linux.scm (rtl8821cu-linux-module) [arguments] <#:make-flags>: Move KSRC to... <#:phases>: ...here.
This commit is contained in:
parent
09de674201
commit
bd8c5ca23e
1 changed files with 17 additions and 16 deletions
|
|
@ -1049,22 +1049,23 @@ network adapters.")
|
||||||
(base32 "1ril9xnv3bbmfj9yynm3nzpdgjyh0a93rag51hia7ix6ppm8w0a6"))))
|
(base32 "1ril9xnv3bbmfj9yynm3nzpdgjyh0a93rag51hia7ix6ppm8w0a6"))))
|
||||||
(build-system linux-module-build-system)
|
(build-system linux-module-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list #:tests? #f ; no test suite
|
||||||
#:make-flags #~(list (string-append "CC="
|
#:make-flags
|
||||||
#$(cc-for-target))
|
#~(list (string-append "CC=" #$(cc-for-target)))
|
||||||
(string-append "KSRC="
|
#:phases
|
||||||
(assoc-ref %build-inputs
|
#~(modify-phases %standard-phases
|
||||||
"linux-module-builder")
|
|
||||||
"/lib/modules/build"))
|
|
||||||
#:phases #~(modify-phases %standard-phases
|
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key (make-flags '())
|
(lambda* (#:key (make-flags '()) (parallel-build? #t) inputs
|
||||||
(parallel-build? #t) #: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
|
||||||
'()) ,@make-flags)))))
|
(parallel-job-count)))
|
||||||
#:tests? #f))
|
'())
|
||||||
|
,@make-flags)))))))
|
||||||
(home-page "https://github.com/morrownr/8821cu-20210916")
|
(home-page "https://github.com/morrownr/8821cu-20210916")
|
||||||
(synopsis "Linux driver for Realtek USB WiFi adapters")
|
(synopsis "Linux driver for Realtek USB WiFi adapters")
|
||||||
(description
|
(description
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue