Re: Building custom kernel modules (e.g. VHBA for CDEmu)

2019-04-03 Thread Chris Marusich
Pierre Neidhardt writes: > The only thing we need, beside a C compiler, is this KDIR, which on Guix > _could_ be found at > > /gnu/store/…-linux-libre-5.0.1/lib/modules/5.0.1/build > > Sadly, for us it's a dangling link to > /tmp/guix-build-linux-libre-5.0.1.drv-0/linux-5.0.1. > > I presume

Building custom kernel modules (e.g. VHBA for CDEmu)

2019-03-25 Thread Pierre Neidhardt
Hi! The question of building custom Linux kernel modules was recently brought up in bug #35758 (packaging CDEmu). I'll summarize: a typical Makefile to build a kernel module looks like this: --8<---cut here---start->8--- VHBA_VERSION := 20170610