sof/scripts
Marc Herbert 0ee59c317e xtensa-build-zephyr.py: do not update SOF submodules after west init
This script is run from an existing SOF repo that is assumed to be fully
initialized. Updating existing submodules is a potentially destructive
operation.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2022-03-11 12:52:41 +00:00
..
cmake version.cmake: make XTOS and Zephyr .ldc file different from each other 2022-03-08 22:02:36 +00:00
docker_build Docker: sof: add ninja-build 2022-01-10 11:52:04 +00:00
kconfig
scan script: clang scan-build for xtensa 2020-03-04 11:02:56 +01:00
README.docker
build-tools.sh cmake: move ALSA_CONFIG_DIR from .sh file to topology/CMakeLists.txt 2022-01-26 10:14:15 -08:00
checkpatch.pl checkpatch: get default codespell dictionary path from package location 2021-11-11 17:09:30 +00:00
const_structs.checkpatch
docker-qemu.sh
docker-run.sh docker-run.sh: switch from "sof" shortcut to full "thesoftproject/sof" 2022-01-07 15:25:53 +00:00
gen-doc.sh gen-doc.sh: Use getopts for parsing arguments 2020-03-31 15:10:34 +01:00
host-testbench.sh host-testbench.sh: update comment for testbench building 2020-11-09 22:08:30 +00:00
qemu-check.sh qemu-check: document magic values, better logging and err. handling 2021-07-26 09:17:46 +01:00
rebuild-testbench.sh scripts: replace "make" with "cmake --build" 2021-01-18 16:11:46 +00:00
run-mocks.sh scripts/run-mocks.sh: major refactor 2021-07-26 09:19:50 +01:00
sof-post-commit-hook.sh check patch: allow C99 comments 2021-12-06 09:58:32 +00:00
sof-pre-commit-hook.sh
sof-target-install.sh
sof_fw.kb
spelling.txt
test-repro-build.sh Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
xtensa-build-all.sh xtensa-build-all.sh: Use appropriate defconfig for tgl-h platform 2022-03-09 11:38:29 -08:00
xtensa-build-zephyr.py xtensa-build-zephyr.py: do not update SOF submodules after west init 2022-03-11 12:52:41 +00:00
xtensa-build-zephyr.sh xtensa-build-zephyr: use separate Zephyr config for TGPH builds 2022-03-01 22:49:36 +00:00

README.docker

The docker container provided in docker_build sets up a build environment for
building Sound Open Firmware. A working docker installation is needed to run
the docker build container.

Note: In order to run docker as non sudo/root user please run.

sudo usermod -aG docker your-user-name

Then logout and login again.

Quick Start:

First, build the docker container. This step needs to be done initially and
when the toolchain or alsa dependencies are updated.

cd scripts/docker_build

./docker-build.sh

After the container is built, it can be used to run the scripts.

To build for baytrail:
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l byt
or (may need password test0000 for rimage install)
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh byt

To rebuild the topology and logger:
./scripts/docker-run.sh ./scripts/build-tools.sh

An incremental sof.git build:
./scripts/docker-run.sh make

Or enter a shell:
./scripts/docker-run.sh bash