build-system/linux-module: Accept a #:make-flags keyword.
authorTobias Geerinckx-Rice <me@tobias.gr>
Fri, 25 Oct 2019 19:37:31 +0000 (21:37 +0200)
committerEfraim Flashner <efraim@flashner.co.il>
Wed, 4 Dec 2019 09:25:33 +0000 (11:25 +0200)
Fixes bug#37882.

* guix/build-system/linux-module.scm (linux-module-build): Accept a
MAKE-FLAGS argument.
<builder>: Pass it on.

guix/build-system/linux-module.scm

index 6084d22..dde2423 100644 (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.
 ;;;
 (define* (linux-module-build store name inputs
                              #:key
                              (search-paths '())
+                             (make-flags '())
                              (tests? #t)
                              (phases '(@ (guix build linux-module-build-system)
                                          %standard-phases))
                                            search-paths)
                      #:phases ,phases
                      #:system ,system
+                     #:make-flags ,make-flags
                      #:tests? ,tests?
                      #:outputs %outputs
                      #:inputs %build-inputs)))