From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice via Bug reports for GNU Guix Subject: bug#37882: [PATCH] build-system/linux-module: Accept a #:make-flags keyword. Date: Fri, 25 Oct 2019 21:37:31 +0200 Message-ID: <20191025193731.4794-1-me@tobias.gr> References: <20191023080658.GF20347@E5400> Reply-To: Tobias Geerinckx-Rice Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58008) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iO5PT-0001fw-V7 for bug-guix@gnu.org; Fri, 25 Oct 2019 15:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iO5PS-0003cV-QY for bug-guix@gnu.org; Fri, 25 Oct 2019 15:38:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58771) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iO5PS-0003cJ-Mq for bug-guix@gnu.org; Fri, 25 Oct 2019 15:38:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iO5PS-0008Qg-7t for bug-guix@gnu.org; Fri, 25 Oct 2019 15:38:06 -0400 In-Reply-To: <20191023080658.GF20347@E5400> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37882@debbugs.gnu.org * guix/build-system/linux-module.scm (linux-module-build): Accept a MAKE-FLAGS argument. : Pass it on. --- Efraim, Is this in any way related to the topic coming up on IRC last week, or just a coincidence? In any case, I'd written the following simple fix but never merged it because I have yet to meet a module with a legitimate need for it. It works, though. Kind regards, T G-R guix/build-system/linux-module.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guix/build-system/linux-module.scm b/guix/build-system/linux-module.scm index 6084d22210..dde2423434 100644 --- a/guix/build-system/linux-module.scm +++ b/guix/build-system/linux-module.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Danny Milosavljevic +;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -120,6 +121,7 @@ (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 @@ search-paths) #:phases ,phases #:system ,system + #:make-flags ,make-flags #:tests? ,tests? #:outputs %outputs #:inputs %build-inputs))) -- 2.23.0