Go to file
Liam Girdwood f1456e00db 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>
2018-06-14 16:16:39 +01:00
doc test: enable cmocka unit tests for SOF 2018-06-11 20:11:32 +01:00
m4 rimage: add support for automatic MEU signing 2018-06-04 13:54:25 +01:00
rimage rimage: add support for automatic MEU signing 2018-06-04 13:54:25 +01:00
scripts scripts: xtensa-build-all.sh. Fix bash error. 2018-06-14 16:16:39 +01:00
src pipeline: remove dmac id and dmac chan from static pipeline host and dai defs 2018-06-13 08:30:10 +01:00
test test: unit tests for list.h 2018-06-11 20:12:43 +01:00
.gitignore test: enable cmocka unit tests for SOF 2018-06-11 20:11:32 +01:00
LICENCE core: initial import of open source DSP firmware 2016-09-22 16:02:43 +01:00
Makefile.am test: enable cmocka unit tests for SOF 2018-06-11 20:11:32 +01:00
README README: Fix a typo in the example SOF configure command 2018-06-07 21:21:27 +01:00
autogen.sh sof: add git pre- and post-commit hooks 2018-01-23 21:08:05 +00:00
configure.ac test: enable cmocka unit tests for SOF 2018-06-11 20:11:32 +01:00
version.sh version.sh: fix FW version parsing 2018-06-04 13:54:25 +01:00

README

Build Instructions

1) Run "autogen.sh" 

2) Build and install the rimage ELF image creator and signing tool

./configure --enable-rimage
make
sudo make install

3) Run the following configure based on your platform.

Baytrail :-

./configure --with-arch=xtensa --with-platform=baytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf

Cherrytrail :-

./configure --with-arch=xtensa --with-platform=cherrytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf

Library for Host Platform :-
If building library for host platform, run the following configure. Please modify
the --prefix option to choose the directory for installing the library files and
headers

./configure --with-arch=host --enable-library=yes --host=x86_64-unknown-linux-gnu --prefix=$PWD/../host-root/

4) make

5) make bin