diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-06-08 08:53:07 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-06-08 10:36:50 +0200 |
| commit | d1fe14be6a98bf8dec63bbee7ac82cd9fadc90f5 (patch) | |
| tree | 515b23c1b67290b382375051fe7e8a50147ae569 /gnu | |
| parent | de728cb859738b9f2ec977a09338f9c73656637a (diff) | |
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.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/linux.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c78f2fe5331..329bf7c3276 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm | |||
| @@ -1051,16 +1051,17 @@ RTL8812AU, RTL8821AU, and RTL8814AU chips.") | |||
| 1051 | "17jiw25k74kv5lnvgycvj2g1n06hbrpjz6p4znk4a62g136rhn4s")))) | 1051 | "17jiw25k74kv5lnvgycvj2g1n06hbrpjz6p4znk4a62g136rhn4s")))) |
| 1052 | (build-system linux-module-build-system) | 1052 | (build-system linux-module-build-system) |
| 1053 | (arguments | 1053 | (arguments |
| 1054 | `(#:phases | 1054 | `(#:make-flags |
| 1055 | (list "CC=gcc" | ||
| 1056 | (string-append "KSRC=" | ||
| 1057 | (assoc-ref %build-inputs "linux-module-builder") | ||
| 1058 | "/lib/modules/build")) | ||
| 1059 | #:phases | ||
| 1055 | (modify-phases %standard-phases | 1060 | (modify-phases %standard-phases |
| 1056 | (replace 'build | 1061 | (replace 'build |
| 1057 | (lambda* (#:key (make-flags '()) inputs #:allow-other-keys) | 1062 | (lambda* (#:key (make-flags '()) #:allow-other-keys) |
| 1058 | (setenv "CC" "gcc") | 1063 | (apply invoke "make" make-flags)))) |
| 1059 | (invoke "make" | 1064 | #:tests? #f)) ; no test suite |
| 1060 | (string-append "KSRC=" | ||
| 1061 | (assoc-ref inputs "linux-module-builder") | ||
| 1062 | "/lib/modules/build"))))) | ||
| 1063 | #:tests? #f)) | ||
| 1064 | (home-page "https://github.com/tomaspinho/rtl8821ce") | 1065 | (home-page "https://github.com/tomaspinho/rtl8821ce") |
| 1065 | (synopsis "Linux driver for Realtek RTL8821CE wireless network adapters") | 1066 | (synopsis "Linux driver for Realtek RTL8821CE wireless network adapters") |
| 1066 | (description "This is Realtek's RTL8821CE Linux driver for wireless | 1067 | (description "This is Realtek's RTL8821CE Linux driver for wireless |
