Проблема с добавлением модуля. Проблема: The build directory under /lib/modules/ is a Debian-ism, where a cut-down version of the source tree is provided with just enough context to build modules against. The kernels from the Raspberry Pi Foundation kernels don't ship with a build directory.
no subject
Проблема: The build directory under /lib/modules/ is a Debian-ism, where a cut-down version of the source tree is provided with just enough context to build modules against. The kernels from the Raspberry Pi Foundation kernels don't ship with a build directory.
Решение:
1. sudo rpi-update
2. Ставим rpi-source: sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/bin/rpi-source && sudo chmod +x /usr/bin/rpi-source && /usr/bin/rpi-source -q --tag-update
3. rpi-soucre
После того как все обновится в /lib/modules/$(shell uname -r) появится папка build