unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Hebi Li <lihebi.com@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Looking for Guix alternative to /lib/modules/$(uname -r)/build
Date: Wed, 11 Sep 2019 08:59:02 +0200	[thread overview]
Message-ID: <87y2yvpbd5.fsf@elephly.net> (raw)
In-Reply-To: <CAKOCGPWPVWrrvRKaVLxZthYczbDf1soo1D9XxKkds6qoct0vJQ@mail.gmail.com>


Hebi Li <lihebi.com@gmail.com> 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

  reply	other threads:[~2019-09-11  6:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11  6:25 Looking for Guix alternative to /lib/modules/$(uname -r)/build Hebi Li
2019-09-11  6:59 ` Ricardo Wurmus [this message]
2019-09-12  3:21   ` Hebi Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2yvpbd5.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=lihebi.com@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).