From 7a43562ff2c4ddf5a50065a896d1a7860bc29027 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 17 Aug 2021 15:49:30 +0800 Subject: [PATCH] remove unused tools --- /dev/null | 36 ------------------------------------ 1 files changed, 0 insertions(+), 36 deletions(-) diff --git a/tools/WiringPi.tar.bz2 b/tools/WiringPi.tar.bz2 deleted file mode 100644 index f1ccb2e..0000000 --- a/tools/WiringPi.tar.bz2 +++ /dev/null Binary files differ diff --git a/tools/setup_libgpiod.sh b/tools/setup_libgpiod.sh deleted file mode 100755 index a2a4737..0000000 --- a/tools/setup_libgpiod.sh +++ /dev/null @@ -1,21 +0,0 @@ -#/bin/bash -# This shell script used install libgpiod library - -set -e - -APP_NAME=libgpiod-1.6.2 - -if [ ! -f ${APP_NAME}.tar.gz ] ; then - wget https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/${APP_NAME}.tar.gz -fi - -if [ ! -d ${APP_NAME} ] ; then - tar -xzf ${APP_NAME}.tar.gz -fi - -cd ${APP_NAME} - -./autogen.sh -./configure --enable-tools=yes --prefix=/usr -make -sudo make install diff --git a/tools/setup_wiringPi.sh b/tools/setup_wiringPi.sh deleted file mode 100755 index 12e7d5c..0000000 --- a/tools/setup_wiringPi.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -# This shell script used to install wiringPi library - -function install_wiringpi() -{ - gpio -v > /dev/null - if [ $? == 0 ] ; then - echo "wiringPi library already installed, exit now..." - #return; - fi - - if [ ! -d WiringPi ] ; then - if [ -f WiringPi.tar.bz2 ] ; then - echo "## decompress WiringPi libarary packet ##" - tar -xjf WiringPi.tar.bz2 - else - echo "## git clone WiringPi libarary source code ##" - git clone https://github.com/WiringPi/WiringPi.git - fi - fi - - cd WiringPi - git pull origin - ./build -} - -function install_systools() -{ - sudo apt-get install -y libssl-dev openssl -} - - -#install_systools - -install_wiringpi - -- Gitblit v1.9.1