mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-02-06 12:25:21 +00:00
18 lines
443 B
Bash
18 lines
443 B
Bash
|
origin_path="$(pwd)"
|
||
|
cd framework/protocol/linkkit/sdk
|
||
|
|
||
|
if [ ! -d "iotx-sdk-c_clone" ]; then
|
||
|
git clone https://github.com/aliyun/iotkit-embedded.git iotx-sdk-c_clone
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "clone iotx-sdk-c fail!"
|
||
|
exit 1
|
||
|
fi
|
||
|
cd iotx-sdk-c_clone
|
||
|
git checkout -b rel_ada --track origin/rel_ada
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "checkout linkplatform_refactor branch fail!"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
fi
|