25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

01_base.yaml 658 B

123456789101112131415161718192021222324252627
  1. ---
  2. - name: Git checkout
  3. git:
  4. repo: "https://github.com/mossmann/hackrf.git"
  5. dest: "{{ install_dir }}/hackrf"
  6. version: master
  7. recursive: yes
  8. depth: 1
  9. - name: Build
  10. shell: |
  11. set -e
  12. cd {{ install_dir }}/hackrf/host
  13. mkdir -p build
  14. cd build
  15. cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=/etc/pisdr/optimizations.cmake \
  16. -DINSTALL_UDEV_RULES=ON ../
  17. ninja install
  18. ldconfig
  19. echo "$(pwd)" >> {{ config_dir }}/build.dirs
  20. - name: Install UDEV Rules
  21. shell: |
  22. set -e
  23. cd {{ install_dir }}/LimeSuite/udev-rules
  24. ./install.sh
  25. echo "/etc/udev/rules.d/53-hackrf.rules" >> {{ config_dir }}/udev.paths