omap-image-builder icon indicating copy to clipboard operation
omap-image-builder copied to clipboard

linux-headers missing?

Open uXeBoy opened this issue 2 years ago • 1 comments

Stuck in a catch-22 loop where I cannot run any makefiles to build wifi drivers for a network connection, because linux-headers seem to not be included in the builds? And cannot just try to 'apt-get' the linux-headers because there is no network connection yet... but cannot run any makefiles to build wifi drivers for a network connection, because linux-headers seem to not be included in the builds? And cannot just try to 'apt-get' the linux-headers because there is no network connection yet...

uXeBoy avatar May 09 '22 01:05 uXeBoy

modprobe kheaders
rm -rf $HOME/headers
mkdir -p $HOME/headers
tar -xvf /sys/kernel/kheaders.tar.xz -C $HOME/headers >/dev/null
cd my-kernel-module
make -C $HOME/headers M=$(pwd) modules

RobertCNelson avatar May 10 '22 14:05 RobertCNelson