Ver código fonte

add osmo-fl2k support

pull/39/head
Luigi Cruz 4 anos atrás
pai
commit
087cdcc67a
2 arquivos alterados com 20 adições e 0 exclusões
  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 Ver arquivo

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

+ 19
- 0
builder/stage4/28-pisdr-osmo-fl2k/00-run.sh Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar