Go to file
Ranjani Sridharan 65ddcddfcc host: add missing include directories and library dependencies
This patch adds the missing paths for header files and
libraries required for building the host testbench.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-06-01 17:46:29 +01:00
doc doc: add README for host testbench 2018-06-01 08:28:16 +01:00
m4 m4: add ax_check_compile_flag to local m4 directory. 2018-02-08 15:35:43 +00:00
rimage Removing unneeded XTOS sections from boot_ldr and main fw. 2018-05-24 12:38:56 +02:00
scripts scripts: add script for building host library and invoking the testbench 2018-06-01 08:28:16 +01:00
src host: add missing include directories and library dependencies 2018-06-01 17:46:29 +01:00
.gitignore Makefile support for doc target. 2018-04-13 14:56:04 +01:00
LICENCE core: initial import of open source DSP firmware 2016-09-22 16:02:43 +01:00
Makefile.am Makefile support for doc target. 2018-04-13 14:56:04 +01:00
README rimage: import rimage image creation and signing tool 2018-02-13 20:29:40 +00:00
autogen.sh sof: add git pre- and post-commit hooks 2018-01-23 21:08:05 +00:00
configure.ac host: include host testbench directory for compilation 2018-06-01 08:28:16 +01:00
version.sh sof: global replacement of 'reef' by 'sof' 2018-04-05 15:10:14 +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