1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00
sdrangel/cmake/ci/build_rtlsdr.sh

15 lines
320 B
Bash

#!/bin/sh
cd $HOME
mkdir -p external && cd external
mkdir -p rtlsdr && cd rtlsdr
git clone https://github.com/osmocom/rtl-sdr.git
cd rtl-sdr
git reset --hard be1d1206bfb6e6c41f7d91b20b77e20f929fa6a7
mkdir -p build && cd build
cmake .. -DDETACH_KERNEL_DRIVER=ON -DINSTALL_UDEV_RULES=ON
sudo make install
sudo ldconfig