1#!/bin/bash 2 3cd $(dirname $0) 4 5# if threadx repo does not exist, clone it 6[ -d ../threadx ] || git clone https://github.com/eclipse-threadx/threadx.git ../threadx --depth 1 7[ -f .run.sh ] || ln -sf ../threadx/scripts/cmake_bootstrap.sh .run.sh 8./.run.sh $*