WiringPi: Remove files that seem won't be used or already have not been used

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1189f950d0e51cbc4c569b1e7a1182dc5f8fe762
This commit is contained in:
Deokgyu Yang
2020-03-19 17:21:21 +09:00
parent b3a297e09b
commit 89cf23cbcd
161 changed files with 98 additions and 18766 deletions

54
build
View File

@@ -93,22 +93,6 @@ install() {
echo
echo "WiringPi Library"
cd wiringPi
# $sudo $make uninstall
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
if [ x$1 = "xstatic" ]; then
$make static
check_make_ok
@@ -137,9 +121,6 @@ install() {
echo ""
echo "NOTE: To compile programs with wiringPi, you need to add:"
echo " -lwiringPi"
echo " to your compile line(s) To use the Gertboard, MaxDetect, etc."
echo " code (the devLib), you need to also add:"
echo " -lwiringPiDev"
echo " to your compile line(s)."
echo ""
}
@@ -147,8 +128,6 @@ install() {
uninstall() {
cd wiringPi
echo -n "wiringPi: " ; $sudo $make uninstall
cd ../devLib
echo -n "DevLib: " ; $sudo $make uninstall
cd ../gpio
echo -n "gpio: " ; $sudo $make uninstall
cd ..
@@ -159,23 +138,11 @@ uninstall() {
clean() {
cd wiringPi
echo -n "wiringPi: " ; $make clean
cd ../devLib
echo -n "DevLib: " ; $make clean
cd ../gpio
echo -n "gpio: " ; $make clean
cd ../examples
echo -n "Examples: " ; $make clean
cd Gertboard
echo -n "Gertboard: " ; $make clean
cd ../PiFace
echo -n "PiFace: " ; $make clean
cd ../q2w
echo -n "Quick2Wire: " ; $make clean
cd ../PiGlow
echo -n "PiGlow: " ; $make clean
cd ../scrollPhat
echo -n "scrollPhat: " ; $make clean
cd ../..
echo -n "examples: " ; $make clean
cd ..
}
if [ x$1 = "xclean" ]; then
@@ -188,23 +155,6 @@ if [ x$1 = "xuninstall" ]; then
exit
fi
# Only if you know what you're doing!
if [ x$1 = "xdebian" ]; then
here=`pwd`
cd debian-template/wiringPi
rm -rf usr
cd $here/wiringPi
$make install-deb
cd $here/devLib
$make install-deb INCLUDE='-I. -I../wiringPi'
cd $here/gpio
$make install-deb INCLUDE='-I../wiringPi -I../devLib' LDFLAGS=-L../debian-template/wiringPi/usr/lib
cd $here/debian-template
fakeroot dpkg-deb --build wiringPi
mv wiringPi.deb odroid-wiringpi-`cat $here/VERSION`.deb
exit
fi
if [ x$1 != "x" ]; then
echo "Usage: $0 [clean | uninstall]"
exit 1