2016-09-21 22:57:22 +08:00
|
|
|
|
|
|
|
Build Instructions
|
|
|
|
|
|
|
|
1) Run "autogen.sh"
|
|
|
|
|
2018-02-14 04:29:40 +08:00
|
|
|
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.
|
2016-09-21 22:57:22 +08:00
|
|
|
|
|
|
|
Baytrail :-
|
|
|
|
|
2017-12-08 23:27:51 +08:00
|
|
|
./configure --with-arch=xtensa --with-platform=baytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf
|
2016-09-21 22:57:22 +08:00
|
|
|
|
|
|
|
Cherrytrail :-
|
|
|
|
|
2017-12-08 23:27:51 +08:00
|
|
|
./configure --with-arch=xtensa --with-platform=cherrytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf
|
2016-09-21 22:57:22 +08:00
|
|
|
|
2018-01-25 14:42:38 +08:00
|
|
|
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/
|
|
|
|
|
2018-02-14 04:29:40 +08:00
|
|
|
4) make
|
2016-09-21 22:57:22 +08:00
|
|
|
|
2018-02-14 04:29:40 +08:00
|
|
|
5) make bin
|
2016-09-21 22:57:22 +08:00
|
|
|
|
|
|
|
|