add patches for armv7l and aarch64

This commit is contained in:
Jakob Ketterl 2020-04-10 18:37:09 +02:00
parent 893a56aa83
commit 3c0146b1c4
2 changed files with 40 additions and 38 deletions

View File

@ -1,8 +1,10 @@
--- sdrplay/install_lib.sh 2018-06-21 18:47:08.000000000 +0000
+++ sdrplay/install_lib_patched.sh 2019-12-15 01:49:49.477386963 +0000
@@ -3,19 +3,7 @@
--- sdrplay/install_lib.sh
+++ sdrplay/install_lib_patched.sh
@@ -4,20 +4,7 @@
export MAJVERS="3"
echo "Installing SDRplay RSP API library 2.13..."
echo "Installing SDRplay RSP API library ${VERS}..."
-read -p "Press RETURN to view the license agreement" ret
-more sdrplay_license.txt
-
@ -16,25 +18,24 @@
- esac
-done
-
-export ARCH=`arch`
+export ARCH=`uname -m`
export VERS="2.13"
export ARCH=`uname -m`
echo "Architecture: ${ARCH}"
@@ -63,16 +51,6 @@
echo " "
exit 1
fi
@@ -46,17 +33,6 @@
echo "ERROR: udev rules directory not found, add udev support and run the"
echo "installer again. udev support can be added by running..."
echo "sudo apt-get install libudev-dev"
- echo " "
- exit 1
-fi
-
-if /sbin/ldconfig -p | /bin/fgrep -q libusb-1.0; then
- echo "Libusb found, continuing..."
-else
- echo " "
- echo "ERROR: Libusb cannot be found. Please install libusb and then run"
- echo "the installer again. Libusb can be installed from http://libusb.info"
- echo " "
- exit 1
-fi
sudo ldconfig
- echo "the installer again. Libusb can be installed by running..."
- echo "sudo apt-get install libusb-1.0.0-dev"
echo " "
exit 1
fi

View File

@ -1,8 +1,10 @@
--- sdrplay/install_lib.sh
+++ sdrplay/install_lib_patched.sh
@@ -3,19 +3,7 @@
@@ -4,20 +4,7 @@
export MAJVERS="3"
echo "Installing SDRplay RSP API library 2.13..."
echo "Installing SDRplay RSP API library ${VERS}..."
-read -p "Press RETURN to view the license agreement" ret
-more sdrplay_license.txt
-
@ -16,12 +18,10 @@
- esac
-done
-
-export ARCH=`arch`
+export ARCH=`uname -m`
export VERS="2.13"
export ARCH=`uname -m`
echo "Architecture: ${ARCH}"
@@ -60,16 +48,6 @@
@@ -44,17 +31,6 @@
echo "ERROR: udev rules directory not found, add udev support and run the"
echo "installer again. udev support can be added by running..."
echo "sudo apt-get install libudev-dev"
@ -34,7 +34,8 @@
-else
- echo " "
- echo "ERROR: Libusb cannot be found. Please install libusb and then run"
- echo "the installer again. Libusb can be installed from http://libusb.info"
- echo "the installer again. Libusb can be installed by running..."
- echo "sudo apt-get install libusb-1.0.0-dev"
echo " "
exit 1
fi