Permit skipping the dependency checks

This commit is contained in:
computermouth 2018-01-22 10:24:49 -08:00
parent f79fe329d9
commit 7ce8f2ba65

View File

@ -14,6 +14,8 @@ nand_erasesize=400000
nand_writesize=4000 nand_writesize=4000
nand_oobsize=680 nand_oobsize=680
if [[ -z ${CHECK_DEPS} ]]; then
for TOOL in ${TOOLS[@]}; do for TOOL in ${TOOLS[@]}; do
if [[ -z $(which $TOOL) ]]; then if [[ -z $(which $TOOL) ]]; then
echo " Error: Unable to locate $TOOL utility." echo " Error: Unable to locate $TOOL utility."
@ -23,6 +25,8 @@ for TOOL in ${TOOLS[@]}; do
fi fi
done done
fi
#------------------------------------------------------------ #------------------------------------------------------------
onMac() { onMac() {
if [ "$(uname)" == "Darwin" ]; then if [ "$(uname)" == "Darwin" ]; then