mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-22 16:33:52 +08:00
* first ignore * init gps test * make LimeGPS git clone * revert ignore * . * remove prebuilt bins * Update README.md Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
26 lines
554 B
Bash
Executable File
26 lines
554 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
|
cd $DIR
|
|
|
|
if [ ! -d LimeSuite ]; then
|
|
git clone https://github.com/myriadrf/LimeSuite.git
|
|
cd LimeSuite
|
|
# checkout latest version which has firmware updates available
|
|
git checkout v20.10.0
|
|
mkdir builddir && cd builddir
|
|
cmake ..
|
|
make -j4
|
|
cd ../..
|
|
fi
|
|
|
|
if [ ! -d LimeGPS ]; then
|
|
git clone https://github.com/osqzss/LimeGPS.git
|
|
cd LimeGPS
|
|
sed -i 's/LimeSuite/LimeSuite -I..\/LimeSuite\/src -L..\/LimeSuite\/builddir\/src/' makefile
|
|
make
|
|
cd ..
|
|
fi
|
|
|