Go to file
Janusz Jankowski 0cc895d609 cmake: cmocka: add toolchain file for xt
It's needed to make cmocka build correctly
for generic instead of unix system

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-03-20 11:37:04 +00:00
doc dox: reformatted documentation for component and ipc control 2019-02-04 12:42:03 +00:00
rimage rimage: manifest: Remove braces for single statement blocks 2019-03-14 10:29:17 +00:00
scripts scripts: add option to modify defconfig 2019-03-19 15:07:31 +00:00
src mixer: add support for mixing 16 bit streams 2019-03-19 15:10:22 +00:00
test cmake: cmocka: add toolchain file for xt 2019-03-20 11:37:04 +00:00
tools topology: Add CML topology support for rt5682+max98357a variant 2019-03-20 11:19:31 +00:00
.gitignore cmake: doc build files added to gitignore 2019-01-29 11:43:56 +01:00
.travis.yml CI: travis: update the docker hub organization 2019-01-31 20:35:44 +00:00
CMakeLists.txt cmake: add build counter 2019-02-11 11:53:32 +00:00
CODEOWNERS CODEOWNERS: add mrajwa as code owner of kpb and gdb files 2019-03-10 17:50:55 +01:00
Kconfig platform: make IOMUX, SPI, DW_GPIO a Kconfig option 2019-03-04 17:52:36 +01:00
LICENCE licence: update for kconfig and elf.h 2019-02-01 11:12:36 +00:00
README.md readme: update for cmake 2019-01-23 20:11:00 +00:00

README.md

Sound Open Firmware

Status

Build Status

Documentation

See docs

Prerequisites

  • Docker
  • CMake (version >= 3.10)

Build Instructions

  1. Create directory in checked out repo for build files:
mkdir build && cd build
  1. Run configuration for your toolchain:

Baytrail:

cmake -DTOOLCHAIN=xtensa-byt-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-byt-elf ..

Cherrytrail:

cmake -DTOOLCHAIN=xtensa-cht-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-cht-elf ..

Haswell / Broadwell:

cmake -DTOOLCHAIN=xtensa-hsw-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-hsw-elf ..

Apollolake:

cmake -DTOOLCHAIN=xtensa-apl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-apl-elf ..

Cannonlake:

cmake -DTOOLCHAIN=xtensa-cnl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-cnl-elf ..
  1. Apply default config for your platform.

Baytrail:

make baytrail_defconfig

Cherrytrail:

make cherrytrail_defconfig

Haswell:

make haswell_defconfig

Broadwell:

make broadwell_defconfig

Apollolake:

make apollolake_defconfig

Cannonlake:

make cannonlake_defconfig
  1. (Optional) Customize your configuration
make menuconfig
  1. Build firmware
make bin
# or `make bin -j<jobs>` for parallel build

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details