http://Yaroslav Leschinsky/ ([identity profile] yaroslav leschinsky) wrote in [personal profile] russiandesman 2018-05-04 12:35 pm (UTC)

Проблема с добавлением модуля.
Проблема: 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

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting