Updated the build & makefile to allow for building the

I2C libraries again - but only if the right headers are
installed!
This commit is contained in:
Gordon Henderson
2013-01-19 21:46:13 +00:00
parent 95342e1f83
commit db925cea18
3 changed files with 56 additions and 37 deletions

12
INSTALL
View File

@@ -30,6 +30,18 @@ To un-install wiringPi:
./build uninstall
I2C:
If your system has the correct i2c-dev libraries and headers installed,
then the I2C helpers will be compiled into wiringPi. If you want to
use the I2C helpers and don't have them installed, then under Raspbian,
issue the command:
sudo apt-get install libi2c-dev
Consult the documentation for your system if you are not running Raspbian.
Gordon Henderson
projects@drogon.net