omap-image-builder
omap-image-builder copied to clipboard
linux-headers missing?
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...
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