mirror of
https://github.com/clockworkpi/WiringPi.git
synced 2026-03-22 20:02:49 +01:00
tidied and tested DRC Serial (renamed it it drcSerial too)
Tweaked the mcp3422 code altered the build script to let me build static
This commit is contained in:
24
build
24
build
@@ -51,18 +51,30 @@ fi
|
||||
echo "WiringPi Library"
|
||||
cd wiringPi
|
||||
sudo make uninstall
|
||||
make
|
||||
check_make_ok
|
||||
sudo make install
|
||||
if [ x$1 = "xstatic" ]; then
|
||||
make static
|
||||
check_make_ok
|
||||
sudo make install-static
|
||||
else
|
||||
make
|
||||
check_make_ok
|
||||
sudo make install
|
||||
fi
|
||||
check_make_ok
|
||||
|
||||
echo
|
||||
echo "WiringPi Devices Library"
|
||||
cd ../devLib
|
||||
sudo make uninstall
|
||||
make
|
||||
check_make_ok
|
||||
sudo make install
|
||||
if [ x$1 = "xstatic" ]; then
|
||||
make static
|
||||
check_make_ok
|
||||
sudo make install-static
|
||||
else
|
||||
make
|
||||
check_make_ok
|
||||
sudo make install
|
||||
fi
|
||||
check_make_ok
|
||||
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user