Go to file
Janusz Jankowski 5211799133 cmake: trigger olddefconfig on kconfig changes
When there are changes made to Kconfig files it's better
to run olddefconfig automatically to prevent undesired behaviour,
like for example depending on added config that has some default value
that is not present because developer didn't run olddefconfig
after pulling changes.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-11-07 09:12:52 +01:00
.github/ISSUE_TEMPLATE issue_template: remove dead references and duplicate fields 2019-09-23 09:32:45 +02:00
doc testbench: move README from doc to tools 2019-06-12 12:19:45 +02:00
rimage rimage: add support for jsl 2019-10-30 17:46:11 +01:00
scripts cmake: trigger olddefconfig on kconfig changes 2019-11-07 09:12:52 +01:00
src ipc: Introduce SAI IPC parameters definition 2019-11-06 17:25:00 +02:00
test sof: build: Disallow void pointer arithmetic 2019-11-04 15:26:20 +01:00
tools topology: Add topology for i.MX8QXP with wm8960 codec 2019-11-06 17:25:00 +02:00
.gitignore gitignore: remove autotools ignore files. 2019-03-27 14:32:19 +00:00
.travis.yml CI: travis: add JSL build check 2019-10-30 17:46:11 +01:00
CMakeLists.txt cmake: interface library for sof static libraries 2019-08-09 16:44:50 +02:00
CODEOWNERS codeowners: add @tlauda and @mrajwa as codeowners of schedule directory 2019-09-20 14:43:58 +02:00
Kconfig kconfig: enable interrupt levels per platform 2019-10-07 19:02:57 +02:00
LICENCE licence: update for kconfig and elf.h 2019-02-01 11:12:36 +00:00
README.md Updated Readme for cht configuration 2019-04-26 10:42:41 +01: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 / Cherrytrail:

cmake -DTOOLCHAIN=xtensa-byt-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-byt-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