sof: scripts: build rimage in xtensa scripts

rimage is not built by default, which can lead to disconnects and
awful bugs when the memory layout changes.

Add rimage build+install as default for xtensa scripts

The BKM should be to rely on executing
./scripts/xtensa-build-all.sh [byt|cht|apl|cnl]
instead of manual commands...

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
Pierre-Louis Bossart 2018-04-03 12:57:53 -05:00 committed by Liam Girdwood
parent dff1bafc3a
commit b9880a5404
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@ set -e
pwd=`pwd`
# make sure rimage is built and aligned with code
./configure --enable-rimage
make
sudo make install
# now build the firmware (depends on rimage)
rm -fr src/arch/xtensa/*.ri
SUPPORTED_PLATFORMS=(byt cht bdw hsw apl cnl)