summaryrefslogtreecommitdiff
path: root/guix/build/linux-module-build-system.scm
Commit message (Collapse)AuthorAge
* build-system: linux-module: Fix cross compilation.Mathieu Othacehe2020-03-22
| | | | | | | | | | | | | | | | | * guix/build-system/linux-module.scm (default-kmod, default-gcc): Delete procedures. (system->arch): New procedure. (make-linux-module-builder)[native-inputs]: Move linux... [inputs]: ...to here. (linux-module-build-cross): New procedure. (linux-module-build): Add TARGET. Pass TARGET and ARCH to build side. (lower): Allow cross-compilation. Move "linux" and "linux-module-builder" to host-inputs. Add target-inputs. Call linux-module-build-cross if TARGET is set, linux-module-build otherwise. * guix/build/linux-module-build-system.scm (configure): Add ARCH argument. (linux-module-build): Adjust comment. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* build-system/linux-module: Disable depmod.Danny Milosavljevic2020-02-25
| | | | * guix/build/linux-module-build-system.scm (install): Disable depmod.
* build-system/linux-module: Configure module like the kernel.Danny Milosavljevic2019-04-12
| | | | | * guix/build/linux-module-build-system.scm (configure): New procedure. (%standard-phases): Add "configure" phase.
* build-system/linux-module: Support module source versioning.Danny Milosavljevic2019-04-12
| | | | | | | | * 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.
* Add (guix build-system linux-module).Danny Milosavljevic2019-04-11
* guix/build/linux-module-build-system.scm: New file. * guix/build-system/linux-module.scm: New file. * doc/guix.texi (Build Systems): Document it. * Makefile.am (MODULES): Add them.