[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Looking for Guix alternative to /lib/modules/$(uname -r)/build
From: |
Ricardo Wurmus |
Subject: |
Re: Looking for Guix alternative to /lib/modules/$(uname -r)/build |
Date: |
Wed, 11 Sep 2019 08:59:02 +0200 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Hebi Li <address@hidden> writes:
> I'm trying to compile and package a kernel module. Kernel modules
> require the kernel "build folder" with Makefile, Kconfig, etc, and
> compile with:
>
> make -C /lib/modules/$(uname -r)/build modules
>
> I'm looking for Guix alternative to the folder /lib/modules/$(uname -r)/build.
We have a linux-module-build-system which implements the common
procedure of building a kernel module. You would just need to write a
Guix package definition using that build system.
--
Ricardo