mirror of https://github.com/thesofproject/sof.git
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:
parent
dff1bafc3a
commit
b9880a5404
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue