-
Notifications
You must be signed in to change notification settings - Fork 322
/
README.docker
34 lines (22 loc) · 960 Bytes
/
README.docker
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 tigerlake:
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l tgl
or (may need password test0000 for rimage install)
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh tgl
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