mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
build-system/linux-module: Support module source versioning.
* guix/build-system/linux-module.scm (make-linux-module-builder) [native-inputs]: Add linux. [arguments]<#:phases>[install]: Install "System.map" and "Module.symvers". * guix/build/linux-module-build-system.scm (configure): Delete procedure. (%standard-phases): Delete "configure" phase.
This commit is contained in:
parent
b2521eed91
commit
88e13c2587
2 changed files with 11 additions and 6 deletions
|
@ -32,10 +32,6 @@
|
|||
;;
|
||||
;; Code:
|
||||
|
||||
;; TODO: It might make sense to provide "Module.symvers" in the future.
|
||||
(define* (configure #:key inputs #:allow-other-keys)
|
||||
#t)
|
||||
|
||||
(define* (build #:key inputs make-flags #:allow-other-keys)
|
||||
(apply invoke "make" "-C"
|
||||
(string-append (assoc-ref inputs "linux-module-builder")
|
||||
|
@ -64,7 +60,7 @@
|
|||
|
||||
(define %standard-phases
|
||||
(modify-phases gnu:%standard-phases
|
||||
(replace 'configure configure)
|
||||
(delete 'configure)
|
||||
(replace 'build build)
|
||||
(replace 'install install)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue