[Sound-open-firmware] [PATCH] scripts: use xt-xcc for compiling if available

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Jun 14 16:29:01 CEST 2018


On Thu, 2018-06-14 at 17:43 +0800, Xiuli Pan wrote:
> From: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
> 
> Check ENV XTENSA_TOOLS_ROOT to determain which compiler to use, and set
> the PATH and other ENV needed for xt-xcc.
> 
> Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
> Signed-off-by: Pan Xiuli <xiuli.pan at linux.intel.com>
> ---
>  scripts/xtensa-build-all.sh | 54 ++++++++++++++++++++++++++++++++++++++----
> 

btw, seeing this now in ./scripts/xtensa-build-all.sh -l :-

Making bin in test
make[1]: Entering directory '/home/lrg/source/reef/sof.git/test'
Making bin in cmocka
make[2]: Entering directory '/home/lrg/source/reef/sof.git/test/cmocka'
make[2]: Nothing to be done for 'bin'.
make[2]: Leaving directory '/home/lrg/source/reef/sof.git/test/cmocka'
make[2]: Entering directory '/home/lrg/source/reef/sof.git/test'
make[2]: Nothing to be done for 'bin-am'.
make[2]: Leaving directory '/home/lrg/source/reef/sof.git/test'
make[1]: Leaving directory '/home/lrg/source/reef/sof.git/test'
make[1]: Entering directory '/home/lrg/source/reef/sof.git'
make[1]: Nothing to be done for 'bin-am'.
make[1]: Leaving directory '/home/lrg/source/reef/sof.git'
./scripts/xtensa-build-all.sh: line 123: [: ==: unary operator expected

Can you fix incrementally.

Thanks

Liam


More information about the Sound-open-firmware mailing list