Permit skipping the dependency checks
This commit is contained in:
parent
f79fe329d9
commit
7ce8f2ba65
20
common.sh
20
common.sh
@ -14,14 +14,18 @@ nand_erasesize=400000
|
|||||||
nand_writesize=4000
|
nand_writesize=4000
|
||||||
nand_oobsize=680
|
nand_oobsize=680
|
||||||
|
|
||||||
for TOOL in ${TOOLS[@]}; do
|
if [[ -z ${CHECK_DEPS} ]]; then
|
||||||
if [[ -z $(which $TOOL) ]]; then
|
|
||||||
echo " Error: Unable to locate $TOOL utility."
|
for TOOL in ${TOOLS[@]}; do
|
||||||
echo " Install $TOOL with:"
|
if [[ -z $(which $TOOL) ]]; then
|
||||||
echo " CHIP-SDK setup script [github.com/NextThingCo/CHIP-SDK]"
|
echo " Error: Unable to locate $TOOL utility."
|
||||||
exit 1
|
echo " Install $TOOL with:"
|
||||||
fi
|
echo " CHIP-SDK setup script [github.com/NextThingCo/CHIP-SDK]"
|
||||||
done
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------
|
#------------------------------------------------------------
|
||||||
onMac() {
|
onMac() {
|
||||||
|
Loading…
Reference in New Issue
Block a user