[Sound-open-firmware] [PATCH] Build: update README and build-all.sh for new platforms

Keyon Jie yang.jie at linux.intel.com
Thu Jan 25 10:32:05 CET 2018


Update README to add HSW/BDW/APL/CNL;
Update build-all.sh to add APL/CNL.

Signed-off-by: Keyon Jie <yang.jie at linux.intel.com>
---
Tested build-all passed.

Tested on minnow turbot rt5651, 
SOF Master: f7beb51118e6e8463a864b9416c773a508930e06, 
SOF Tool Master: 59d81995f682876bd34f939332e8838c76f714ec, 
https://github.com/plbossart/sound/tree/topic/sof-v4.14:
5a91e6776d41b0e97828882294cdc00b5c0bafd6

README       | 16 ++++++++++++++++
 build-all.sh | 11 +++++++++++
 2 files changed, 27 insertions(+)

diff --git a/README b/README
index 9ca5b12..f354057 100644
--- a/README
+++ b/README
@@ -13,6 +13,22 @@ Cherrytrail :-
 
 ./configure --with-arch=xtensa --with-platform=cherrytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf
 
+Haswell :-
+
+./configure --with-arch=xtensa --with-platform=haswell --with-root-dir=$PWD/../xtensa-root/xtensa-hsw-elf --host=xtensa-hsw-elf host_alias=xtensa-hsw-elf
+
+Broadwell :-
+
+./configure --with-arch=xtensa --with-platform=broadwell --with-root-dir=$PWD/../xtensa-root/xtensa-hsw-elf --host=xtensa-hsw-elf host_alias=xtensa-hsw-elf
+
+Apollolake :-
+
+./configure --with-arch=xtensa --with-platform=apollolake --with-root-dir=$PWD/../xtensa-root/xtensa-bxt-elf --host=xtensa-bxt-elf host_alias=xtensa-bxt-elf --disable-dma-trace
+
+Cannonlake :-
+
+./configure --with-arch=xtensa --with-platform=cannonlake --with-root-dir=$PWD/../xtensa-root/xtensa-sue-elf --host=xtensa-sue-elf host_alias=xtensa-sue-elf --disable-dma-trace
+
 3) make
 
 4) make bin
diff --git a/build-all.sh b/build-all.sh
index 6035c66..7555c8f 100755
--- a/build-all.sh
+++ b/build-all.sh
@@ -33,6 +33,17 @@ make clean
 make
 make bin
 
+# build for Apollolake
+./configure --with-arch=xtensa --with-platform=apollolake --with-root-dir=$pwd/../xtensa-root/xtensa-bxt-elf --host=xtensa-bxt-elf --disable-dma-trace
+make clean
+make
+make bin
+
+# build for Cannonlake
+make clean
+./configure --with-arch=xtensa --with-platform=cannonlake --with-root-dir=$pwd/../xtensa-root/xtensa-sue-elf --host=xtensa-sue-elf --disable-dma-trace
+make
+make bin
 
 # list all the images
 ls -l src/arch/xtensa/*.ri
-- 
2.11.0



More information about the Sound-open-firmware mailing list