Liam Girdwood | c0dfb4e | 2016-09-21 15:57:22 +0100 | [diff] [blame] | 1 | |
| 2 | Build Instructions |
| 3 | |
| 4 | 1) Run "autogen.sh" |
| 5 | |
Liam Girdwood | 05ef434 | 2018-02-13 20:29:40 +0000 | [diff] [blame] | 6 | 2) Build and install the rimage ELF image creator and signing tool |
| 7 | |
| 8 | ./configure --enable-rimage |
| 9 | make |
| 10 | sudo make install |
| 11 | |
| 12 | 3) Run the following configure based on your platform. |
Liam Girdwood | c0dfb4e | 2016-09-21 15:57:22 +0100 | [diff] [blame] | 13 | |
| 14 | Baytrail :- |
| 15 | |
Keyon Jie | 186806d | 2017-12-08 23:27:51 +0800 | [diff] [blame] | 16 | ./configure --with-arch=xtensa --with-platform=baytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf |
Liam Girdwood | c0dfb4e | 2016-09-21 15:57:22 +0100 | [diff] [blame] | 17 | |
| 18 | Cherrytrail :- |
| 19 | |
Keyon Jie | 186806d | 2017-12-08 23:27:51 +0800 | [diff] [blame] | 20 | ./configure --with-arch=xtensa --with-platform=cherrytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf |
Liam Girdwood | c0dfb4e | 2016-09-21 15:57:22 +0100 | [diff] [blame] | 21 | |
Ranjani Sridharan | 0505823 | 2018-01-24 22:42:38 -0800 | [diff] [blame] | 22 | Library for Host Platform :- |
| 23 | If building library for host platform, run the following configure. Please modify |
| 24 | the --prefix option to choose the directory for installing the library files and |
| 25 | headers |
| 26 | |
Seppo Ingalsuo | 0ac40ab | 2018-06-05 18:22:47 +0300 | [diff] [blame^] | 27 | ./configure --with-arch=host --enable-library=yes --host=x86_64-unknown-linux-gnu --prefix=$PWD/../host-root/ |
Ranjani Sridharan | 0505823 | 2018-01-24 22:42:38 -0800 | [diff] [blame] | 28 | |
Liam Girdwood | 05ef434 | 2018-02-13 20:29:40 +0000 | [diff] [blame] | 29 | 4) make |
Liam Girdwood | c0dfb4e | 2016-09-21 15:57:22 +0100 | [diff] [blame] | 30 | |
Liam Girdwood | 05ef434 | 2018-02-13 20:29:40 +0000 | [diff] [blame] | 31 | 5) make bin |
Liam Girdwood | c0dfb4e | 2016-09-21 15:57:22 +0100 | [diff] [blame] | 32 | |
| 33 | |