3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: rtl8812au-aircrack-ng-linux-module: Use MAKE-FLAGS.

* gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module)
[arguments]: Use MAKE-FLAGS keyword.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-08 08:46:25 +02:00
parent 44adf883f0
commit de728cb859
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1013,15 +1013,15 @@ and should be used with caution, especially on untested models.")
#t))))
(build-system linux-module-build-system)
(arguments
`(#:phases
`(#:make-flags
(list (string-append "KSRC="
(assoc-ref %build-inputs "linux-module-builder")
"/lib/modules/build"))
#:phases
(modify-phases %standard-phases
(replace 'build
(lambda* (#:key inputs make-flags #:allow-other-keys)
(apply invoke "make"
(string-append "KSRC="
(assoc-ref inputs "linux-module-builder")
"/lib/modules/build")
(or make-flags '())))))
(lambda* (#:key (make-flags '()) #:allow-other-keys)
(apply invoke "make" make-flags))))
#:tests? #f)) ; no test suite
(supported-systems '("x86_64-linux" "i686-linux"))
(home-page "https://github.com/aircrack-ng/rtl8812au")