Kaynağa Gözat

Fix GNU Radio installation path and UHD Udev rules.

tags/v4.1.0-rc1
Luigi Cruz 4 yıl önce
ebeveyn
işleme
69f72a15cb
2 değiştirilmiş dosya ile 7 ekleme ve 7 silme
  1. +5
    -3
      builder/stage4/05-pisdr-uhd/00-run.sh
  2. +2
    -4
      builder/stage4/06-pisdr-gnuradio/00-run.sh

+ 5
- 3
builder/stage4/05-pisdr-uhd/00-run.sh Dosyayı Görüntüle

@@ -15,8 +15,10 @@ cd build
cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \
-DCMAKE_C_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \
-DCMAKE_ASM_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15" \
-GNinja -DCMAKE_BUILD_TYPE=Release ../
-GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ../
ninja install
cp /usr/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/
udevadm control --reload-rules
udevadm trigger
ldconfig
EOF

EOF

+ 2
- 4
builder/stage4/06-pisdr-gnuradio/00-run.sh Dosyayı Görüntüle

@@ -13,9 +13,7 @@ git checkout maint-3.8
git submodule update --init --recursive
mkdir -p build
cd build
echo "export PYTHONPATH=/usr/local/lib/python3/dist-packages:\$PYTHONPATH" >> /home/${FIRST_USER_NAME}/.bashrc
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
ninja install
ldconfig
EOF

EOF

Yükleniyor…
İptal
Kaydet