Go to file
Janusz Jankowski 15065eb01c cmake: add sof_add_static_library utility function
Adding static libraries properly may be troublesome for developers
that are not familiar with CMake, so function that makes it easier
should be useful.

Usually developer will just add sources directly to the target.
Using static libraries should be limited just to closed / precompiled
3rd party components.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-08-09 16:44:50 +02:00
.github/ISSUE_TEMPLATE gh: update issue templates 2019-05-28 13:20:34 +01:00
doc testbench: move README from doc to tools 2019-06-12 12:19:45 +02:00
rimage rimage: change error to warning if section not found 2019-06-23 22:55:32 +01:00
scripts cmake: add sof_add_static_library utility function 2019-08-09 16:44:50 +02:00
src cmake: interface library for sof static libraries 2019-08-09 16:44:50 +02:00
test spinlock: replace spin_lock_* with irq_local_* 2019-08-07 14:22:52 +02:00
tools kmod_scripts: handle renaming of pci/apci SOF modules 2019-08-09 12:09:19 +02:00
.gitignore gitignore: remove autotools ignore files. 2019-03-27 14:32:19 +00:00
.travis.yml CI: travis: update with IMX8 support 2019-05-30 13:18:47 +02:00
CMakeLists.txt cmake: interface library for sof static libraries 2019-08-09 16:44:50 +02:00
CODEOWNERS include: split uapi headers into more directories 2019-05-31 20:10:45 +01:00
Kconfig Kconfig: add option to enable CONFIG_LP_SRAM 2019-07-30 19:29:59 +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