build-system/linux-module: Accept a #:make-flags keyword.

Fixes bug#37882.

* guix/build-system/linux-module.scm (linux-module-build): Accept a
MAKE-FLAGS argument.
<builder>: Pass it on.
This commit is contained in:
Tobias Geerinckx-Rice 2019-10-25 21:37:31 +02:00 committed by Efraim Flashner
parent 6ea613ce63
commit fabd4900d8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -120,6 +121,7 @@ (define private-keywords
(define* (linux-module-build store name inputs
#:key
(search-paths '())
(make-flags '())
(tests? #t)
(phases '(@ (guix build linux-module-build-system)
%standard-phases))
@ -146,6 +148,7 @@ (define builder
search-paths)
#:phases ,phases
#:system ,system
#:make-flags ,make-flags
#:tests? ,tests?
#:outputs %outputs
#:inputs %build-inputs)))