Bläddra i källkod

Fix GNU Radio installation path and UHD Udev rules.

tags/v4.1.0-rc1
Luigi Cruz 4 år sedan
förälder
incheckning
69f72a15cb
2 ändrade filer med 7 tillägg och 7 borttagningar
  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 Visa fil

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

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

Laddar…
Avbryt
Spara