sof/scripts
Pan Xiuli 92d53023ea scripts: add clean up for host-build-all.sh
re-run the script will have no error now

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-03-10 18:11:52 +01:00
..
cmake cmake: add build counter 2019-02-11 11:53:32 +00:00
docker_build scripts: replace alsa-lib with sof mirror 2019-01-31 20:20:51 +00:00
kconfig cmake: add savedefconfig target 2019-02-07 21:12:39 +00:00
README.docker scripts: remove all soft related stuff 2019-01-10 15:10:10 +00:00
build-tools.sh scripts: update build-tools.sh for cmake 2019-02-14 18:00:26 +00:00
checkpatch.pl scripts/checkpatch.pl: remove trace format warnings 2019-01-16 20:07:40 +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: increase shm size for some QEMU platforms 2019-01-14 13:58:29 +00:00
docker-run.sh scripts: remove all soft related stuff 2019-01-10 15:10:10 +00:00
host-build-all.sh scripts: add clean up for host-build-all.sh 2019-03-10 18:11:52 +01:00
host-testbench.sh scripts: remove all soft related stuff 2019-01-10 15:10:10 +00:00
qemu-check.sh scripts: change names for binary in qemu-check 2019-01-23 10:59:50 +00: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
sof-target-install.sh scripts: sof-target-install update for cmake tools 2019-02-14 18:00:26 +00:00
sof_fw.kb ci: klocwork: add example config file to avoid FPs 2019-02-22 12:16:05 +01:00
spelling.txt sof: add git pre- and post-commit hooks 2018-01-23 21:08:05 +00:00
xtensa-build-all.sh cmake: make CI builds verbose 2019-01-29 12:38:48 +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