richardghirst/PiBits — pull request #2 by rmallins (2012-11-11 22:02:26+00:00)
Title: Enable easy setup

Hi Rich,
this change is supposed to remove any newbie problems installing the driver (though I'm sure it'll just shift the problem set). I created two new build targets in the makefile:

install:
creates udev files as specified by servoblaster.c

install_autostart:
does all that install does plus copies servoblaster.ko into the kernel module directory tree and runs depmod. It also edits /etc/modules to add servoblaster to the list.

install_autostart should be of particular interest to Smcintosh, as now all he has to do to get it installed and running from boot on each of his Pis is:

git clone
cd PiBits/ServoBlaster
make install_autostart

Hopefully people will no longer feel an urge to write install scripts either :-)
regards,
Robin