Skip to content

Commit

Permalink
rasp-pi-brpred: add notes on how to build out-of-tree kernel module
Browse files Browse the repository at this point in the history
  • Loading branch information
deater committed May 2, 2016
1 parent 644899a commit 105da74
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions rasp-pi-brpred/README.building_modules
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
You need to have kernel headers that match your running kernel.

One source of these is here:
https://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/

after installing the matching one you might have to install the "right"
version of gcc too, in this case I had to install
linux-compiler-gcc-4.7-arm

I then had to chown -R /usr/src/linux-headers* to belong to me for some
reason

after that, at least on my pi-2 I was able to build my module and install
it (with insmod ./rasp-pi-brpred.ko) just fine.

0 comments on commit 105da74

Please sign in to comment.