sof/scripts
Pan Xiuli 12e11b7693 scripts: enable tools test build
When pass -t, we will run make tests to build test topology.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-12-04 13:43:51 +00:00
..
docker_build scripts: docker: add qmeu docker 2018-10-12 17:06:10 +08:00
README.docker Update Docker README for SOFT merge 2018-11-24 23:38:51 -08:00
build-tools.sh scripts: enable tools test build 2018-12-04 13:43:51 +00:00
checkpatch.pl scripts: checkpatch: check for ABI updates 2018-11-09 16:16:38 +00:00
const_structs.checkpatch sof: add git pre- and post-commit hooks 2018-01-23 21:08:05 +00:00
docker-qemu.sh scripts: docker: remove -t flag 2018-11-06 14:51:26 +08:00
docker-run.sh scripts: docker: remove -t flag 2018-11-06 14:51:26 +08:00
host-build-all.sh scripts: add -l option for host-build-all 2018-09-26 11:31:13 +08:00
host-testbench.sh scripts: update host testbench script with src topology example 2018-07-02 23:55:06 -07:00
qemu-check.sh scripts: add script for qemu check 2018-10-12 17:06:03 +08:00
rimage-build.sh scripts: add rimage build scripts local install 2018-10-09 17:39:47 +08:00
sof-post-commit-hook.sh sof: add git pre- and post-commit hooks 2018-01-23 21:08:05 +00:00
sof-pre-commit-hook.sh sof: add git pre- and post-commit hooks 2018-01-23 21:08:05 +00:00
spelling.txt sof: add git pre- and post-commit hooks 2018-01-23 21:08:05 +00:00
xtensa-build-all.sh scripts: add rom build option 2018-12-04 13:43:51 +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: This script assumes the sof.git/ and soft.git/ directories are siblings.

Note2: 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