1The docker container provided in docker_build sets up a build environment for
2building Sound Open Firmware. A working docker installation is needed to run
3the docker build container.
4
5Note: In order to run docker as non sudo/root user please run.
6
7sudo usermod -aG docker your-user-name
8
9Then logout and login again.
10
11Quick Start:
12
13First, build the docker container. This step needs to be done initially and
14when the toolchain or alsa dependencies are updated.
15
16cd scripts/docker_build
17
18./docker-build.sh
19
20After the container is built, it can be used to run the scripts.
21
22To build for baytrail:
23./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l byt
24or (may need password test0000 for rimage install)
25./scripts/docker-run.sh ./scripts/xtensa-build-all.sh byt
26
27To rebuild the topology and logger:
28./scripts/docker-run.sh ./scripts/build-tools.sh
29
30An incremental sof.git build:
31./scripts/docker-run.sh make
32
33Or enter a shell:
34./scripts/docker-run.sh bash
35