blob: adc23e2c379b90e38fee1eb0f4e8cb3f99bef46c [file] [log] [blame]
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +01001
2Build Instructions
3
41) Run "autogen.sh"
5
Liam Girdwood05ef4342018-02-13 20:29:40 +000062) Build and install the rimage ELF image creator and signing tool
7
8./configure --enable-rimage
9make
10sudo make install
11
123) Run the following configure based on your platform.
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010013
14Baytrail :-
15
Keyon Jie186806d2017-12-08 23:27:51 +080016./configure --with-arch=xtensa --with-platform=baytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010017
18Cherrytrail :-
19
Keyon Jie186806d2017-12-08 23:27:51 +080020./configure --with-arch=xtensa --with-platform=cherrytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010021
Ranjani Sridharan05058232018-01-24 22:42:38 -080022Library for Host Platform :-
23If building library for host platform, run the following configure. Please modify
24the --prefix option to choose the directory for installing the library files and
25headers
26
27./configure --with-arch=host --enable-library=yes --host=x86_64-unknown-linux-gnu --prefix=$pwd/../host-root/
28
Liam Girdwood05ef4342018-02-13 20:29:40 +0000294) make
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010030
Liam Girdwood05ef4342018-02-13 20:29:40 +0000315) make bin
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010032
33