chiark
/
gitweb
/
~ianmdlvl
/
wiringPi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
More changes to help reflect usage on Rev 2 / 512MB Raspberry Pi's.
[wiringPi.git]
/
build
1
#!/bin/bash
2
3
if [ x$1 = "xclean" ]; then
4
echo Cleaning
5
echo
6
cd wiringPi
7
make clean
8
cd ../gpio
9
make clean
10
cd ../examples
11
make clean
12
cd ..
13
elif [ x$1 = "xuninstall" ]; then
14
echo Uninstalling
15
echo
16
echo "WiringPi library"
17
cd wiringPi
18
sudo make uninstall
19
echo
20
echo "GPIO Utility"
21
cd ../gpio
22
sudo make uninstall
23
cd ..
24
else
25
echo wiringPi Build script - please wait...
26
echo
27
echo "WiringPi library"
28
cd wiringPi
29
make
30
sudo make install
31
echo
32
echo "GPIO Utility"
33
cd ../gpio
34
make
35
sudo make install
36
echo
37
echo "Examples"
38
cd ../examples
39
make
40
cd ..
41
fi
42
43
echo
44
echo All Done.