Browse Source

add osmo-fl2k support

pull/39/head
Luigi Cruz 4 years ago
parent
commit
087cdcc67a
2 changed files with 20 additions and 0 deletions
  1. +1
    -0
      builder/stage4/28-pisdr-osmo-fl2k/00-packages-nr
  2. +19
    -0
      builder/stage4/28-pisdr-osmo-fl2k/00-run.sh

+ 1
- 0
builder/stage4/28-pisdr-osmo-fl2k/00-packages-nr View File

@@ -0,0 +1 @@
libusb-1.0-0-dev

+ 19
- 0
builder/stage4/28-pisdr-osmo-fl2k/00-run.sh View File

@@ -0,0 +1,19 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "osmo-fl2k" ]; then
git clone git://git.osmocom.org/osmo-fl2k.git
fi

cd osmo-fl2k
mkdir -p build
cd build
cmake -GNinja -DINSTALL_UDEV_RULES=ON ..
ninja install
ldconfig
cd ..
rm -fr build
EOF

Loading…
Cancel
Save