blob: fd390d60f60cfeac3d4b2303161ace41b8c2bdaf [file] [log] [blame]
Dylan Reide3dfa4e2018-04-25 09:48:41 -07001The 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: This script assumes the sof.git/ and soft.git/ directories are siblings.
6
7Quick Start:
8
9First, build the docker container. This step needs to be done initially and
10when the toolchain or alsa dependencies are updated.
11
12cd scripts/docker_build
13docker build --build-arg UID=$(id -u) -t sof .
14
15After the container is built, it can be used to run the scripts.
16
17To build for baytrail:
18./scripts/docker-run.sh ./scripts/xtensa-build-all.sh byt
19
20To rebuild the topology in soft.git:
21./scripts/docker-run.sh ./scripts/build-soft.sh
22
23An incremental sof.git build:
24./scripts/docker-run.sh make
25
26Or enter a shell:
27./scripts/docker-run.sh bash