mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: rtl8821ce-linux-module: Use MAKE-FLAGS.
* gnu/packages/linux.scm (rtl8821ce-linux-module)[arguments]: Use MAKE-FLAGS keyword. Make CC environment variable a make flag.
This commit is contained in:
parent
de728cb859
commit
d1fe14be6a
1 changed files with 9 additions and 8 deletions
|
@ -1051,16 +1051,17 @@ (define-public rtl8821ce-linux-module
|
||||||
"17jiw25k74kv5lnvgycvj2g1n06hbrpjz6p4znk4a62g136rhn4s"))))
|
"17jiw25k74kv5lnvgycvj2g1n06hbrpjz6p4znk4a62g136rhn4s"))))
|
||||||
(build-system linux-module-build-system)
|
(build-system linux-module-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:make-flags
|
||||||
|
(list "CC=gcc"
|
||||||
|
(string-append "KSRC="
|
||||||
|
(assoc-ref %build-inputs "linux-module-builder")
|
||||||
|
"/lib/modules/build"))
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key (make-flags '()) inputs #:allow-other-keys)
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||||
(setenv "CC" "gcc")
|
(apply invoke "make" make-flags))))
|
||||||
(invoke "make"
|
#:tests? #f)) ; no test suite
|
||||||
(string-append "KSRC="
|
|
||||||
(assoc-ref inputs "linux-module-builder")
|
|
||||||
"/lib/modules/build")))))
|
|
||||||
#:tests? #f))
|
|
||||||
(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…
Reference in a new issue