chiark
/
gitweb
/
~ianmdlvl
/
wiringPi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
be04c1b
)
changed build to not do the I2C checks.
author
Gordon Henderson
<projects@drogon.net>
Sat, 19 Jan 2013 15:10:48 +0000
(15:10 +0000)
committer
Gordon Henderson
<projects@drogon.net>
Sat, 19 Jan 2013 15:10:48 +0000
(15:10 +0000)
build
patch
|
blob
|
history
diff --git
a/build
b/build
index 2afafa665cff04f38f8b817972c3c8c20d5f6ea9..666ab878c445f556cfb5d0b4824841c6a6e82e67 100755
(executable)
--- a/
build
+++ b/
build
@@
-56,13
+56,13
@@
else
# Check for I2C being installed...
# Check for I2C being installed...
-
if [ ! -f /usr/include/linux/i2c-dev.h ]; then
-
i2c-install
-
fi
-
grep -q i2c_smbus_read_byte /usr/include/linux/i2c-dev.h
-
if [ $? = 1 ]; then
-
i2c-install
-
fi
+
#
if [ ! -f /usr/include/linux/i2c-dev.h ]; then
+
#
i2c-install
+
#
fi
+
#
grep -q i2c_smbus_read_byte /usr/include/linux/i2c-dev.h
+
#
if [ $? = 1 ]; then
+
#
i2c-install
+
#
fi
echo "WiringPi library"
cd wiringPi
echo "WiringPi library"
cd wiringPi