RobertCNelson / omap-image-builder

omap image builder
http://elinux.org/BeagleBoardUbuntu
MIT License
156 stars 201 forks source link

linux-headers missing? #190

Open uXeBoy opened 2 years ago

uXeBoy commented 2 years ago

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...

RobertCNelson commented 2 years ago
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