25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- ---
- - name: Git checkout
- git:
- repo: "https://github.com/mossmann/hackrf.git"
- dest: "{{ install_dir }}/hackrf"
- version: master
- recursive: yes
- depth: 1
-
- - name: Build
- shell: |
- set -e
- cd {{ install_dir }}/hackrf/host
- mkdir -p build
- cd build
- cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=/etc/pisdr/optimizations.cmake \
- -DINSTALL_UDEV_RULES=ON ../
- ninja install
- ldconfig
- echo "$(pwd)" >> {{ config_dir }}/build.dirs
-
- - name: Install UDEV Rules
- shell: |
- set -e
- cd {{ install_dir }}/LimeSuite/udev-rules
- ./install.sh
- echo "/etc/udev/rules.d/53-hackrf.rules" >> {{ config_dir }}/udev.paths
|