Skip to content

Commit

Permalink
make bootstrap script more macOS friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
hosek committed Sep 8, 2020
1 parent 270630e commit bd11b9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 00_bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

echo \#\# First prepare build environment
wget http://shyboy.oss-cn-shenzhen.aliyuncs.com/readonly/tc32_gcc_v2.0.tar.bz2 -O docker/tc32_gcc.tar.bz2
curl http://shyboy.oss-cn-shenzhen.aliyuncs.com/readonly/tc32_gcc_v2.0.tar.bz2 > docker/tc32_gcc.tar.bz2
docker build ./docker/ -t tc32


Expand All @@ -11,5 +11,4 @@ git clone --depth=1 https://github.com/Ai-Thinker-Open/Telink_825X_SDK SDK

echo \#\# Download ATC_MiThermometer and patch makefile
git clone https://github.com/atc1441/ATC_MiThermometer
sed -i "/TEL_PATH := ..\/../c TEL_PATH := ..\/../SDK\/" ATC_MiThermometer/ATC_Thermometer/makefile

sed -i '' 's#TEL_PATH := ..\/..#TEL_PATH := ..\/../SDK\/#g' ATC_MiThermometer/ATC_Thermometer/makefile

0 comments on commit bd11b9c

Please sign in to comment.