14 Jun
2018
14 Jun
'18
5:34 p.m.
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 --- scripts/xtensa-build-all.sh | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/scripts/xtensa-build-all.sh b/scripts/xtensa-build-all.sh index c1147d8..d873d7e 100755 --- a/scripts/xtensa-build-all.sh +++ b/scripts/xtensa-build-all.sh @@ -116,6 +116,8 @@ do if [ -d $XTENSA_TOOLS_DIR ] then XCC="xt-xcc" + else + XCC="none" fi fi
--
2.17.1