chiark
/
gitweb
/
~ianmdlvl
/
wiringPi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More changes to help reflect usage on Rev 2 / 512MB Raspberry Pi's.
[wiringPi.git]
/
build
diff --git
a/build
b/build
index 9df047fe4a1dc6f1ef74b26ab417dbfdb95213c7..740b512173ac20389dcbfc8e2b24e617fd19325e 100755
(executable)
--- a/
build
+++ b/
build
@@
-10,15
+10,31
@@
if [ x$1 = "xclean" ]; then
cd ../examples
make clean
cd ..
cd ../examples
make clean
cd ..
+elif [ x$1 = "xuninstall" ]; then
+ echo Uninstalling
+ echo
+ echo "WiringPi library"
+ cd wiringPi
+ sudo make uninstall
+ echo
+ echo "GPIO Utility"
+ cd ../gpio
+ sudo make uninstall
+ cd ..
else
echo wiringPi Build script - please wait...
echo
else
echo wiringPi Build script - please wait...
echo
+ echo "WiringPi library"
cd wiringPi
make
sudo make install
cd wiringPi
make
sudo make install
+ echo
+ echo "GPIO Utility"
cd ../gpio
make
sudo make install
cd ../gpio
make
sudo make install
+ echo
+ echo "Examples"
cd ../examples
make
cd ..
cd ../examples
make
cd ..