mirror of
https://github.com/clockworkpi/WiringPi.git
synced 2026-03-22 11:52:41 +01:00
Sorted a variable initialisation issue that was giving incorrect results
with wiringPiISR. Added the ability to readall/reset from extension modules. Changed the build script to use /bin/sh rather than /bin/bash as it seems some installations don't have /bin/bash (or if they do, then the people who are telling me that ./build gives them command not found are wrong)
This commit is contained in:
17
build
17
build
@@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
check-make-ok()
|
||||
{
|
||||
check_make_ok() {
|
||||
if [ $? != 0 ]; then
|
||||
echo ""
|
||||
echo "Make Failed..."
|
||||
@@ -51,26 +50,26 @@ fi
|
||||
cd wiringPi
|
||||
sudo make uninstall
|
||||
make
|
||||
check-make-ok
|
||||
check_make_ok
|
||||
sudo make install
|
||||
check-make-ok
|
||||
check_make_ok
|
||||
|
||||
echo
|
||||
echo "WiringPi Devices Library"
|
||||
cd ../devLib
|
||||
sudo make uninstall
|
||||
make
|
||||
check-make-ok
|
||||
check_make_ok
|
||||
sudo make install
|
||||
check-make-ok
|
||||
check_make_ok
|
||||
|
||||
echo
|
||||
echo "GPIO Utility"
|
||||
cd ../gpio
|
||||
make
|
||||
check-make-ok
|
||||
check_make_ok
|
||||
sudo make install
|
||||
check-make-ok
|
||||
check_make_ok
|
||||
|
||||
# echo
|
||||
# echo "Examples"
|
||||
|
||||
Reference in New Issue
Block a user