Subject: bug#60056: [PATCH RFC 5/6] gnu: make-linux-libre*: Use gnu-build-system2 to fix cross compilation.

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 14 Dec 2022 22:23:27 -0500

* gnu/packages/linux.scm (make-linux-libre*): Use gnu-build-system2.
---
 gnu/packages/linux.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index e0129ac9de..f80c9d26d7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -174,6 +174,7 @@ (define-module (gnu packages linux)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system gnu2)
   #:use-module (guix build-system go)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
@@ -929,10 +930,10 @@ (define* (make-linux-libre* version gnu-revision source supported-systems
     (version version)
     (source source)
     (supported-systems supported-systems)
-    (build-system gnu-build-system)
+    (build-system gnu-build-system2)
     (arguments
      (list
-      #:modules '((guix build gnu-build-system)
+      #:modules '((guix build gnu-build-system2)
                   (guix build utils)
                   (srfi srfi-1)
                   (srfi srfi-26)
-- 
2.38.1