mirror of https://github.com/thesofproject/sof.git
scripts: xtensa-build-all.sh. Fix bash error.
make[1]: Leaving directory '/home/lrg/source/reef/sof.git' ./scripts/xtensa-build-all.sh: line 123: [: ==: unary operator expected Fix, set variable to "none" if xcc not found. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
9c9c4a4b17
commit
f1456e00db
|
@ -116,6 +116,8 @@ do
|
||||||
if [ -d $XTENSA_TOOLS_DIR ]
|
if [ -d $XTENSA_TOOLS_DIR ]
|
||||||
then
|
then
|
||||||
XCC="xt-xcc"
|
XCC="xt-xcc"
|
||||||
|
else
|
||||||
|
XCC="none"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue