sof/scripts
Prashant Malani e3f45d2770 scripts: Modify Docker Ubuntu version
This ensures that the ubuntu version we use has the right
versions of Open SSL. Without this, the rimage compilation will
fail with the following error:

 pkcs1_5.c: In function 'pkcs_sign':
 pkcs1_5.c:117:20: error: dereferencing pointer to incomplete type 'RSA
 {aka struct rsa_st}'

Signed-off-by: Prashant Malani <pmalani@google.com>
Acked-by: Dylan Reid <dgreid@chromium.org>
2018-05-08 16:00:21 +01:00
..
docker_build scripts: Modify Docker Ubuntu version 2018-05-08 16:00:21 +01:00
README.docker scripts: Add ability to build in a container 2018-04-30 16:24:56 +01:00
build-soft.sh scripts: Add build-soft.sh 2018-04-30 20:05:24 +01:00
checkpatch.pl scripts: checkpatch: don't complain about int_t uint_t types 2018-04-04 15:54:03 +01:00
const_structs.checkpatch sof: add git pre- and post-commit hooks 2018-01-23 21:08:05 +00:00
docker-run.sh scripts: Add ability to build in a container 2018-04-30 16:24:56 +01:00
host-build-all.sh scripts: Add #! headers to shell scripts 2018-04-30 16:21:39 +01:00
rimage-build.sh scripts: Add #! headers to shell scripts 2018-04-30 16:21:39 +01: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 #! headers to shell scripts 2018-04-30 16:21:39 +01: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.

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 --build-arg UID=$(id -u) -t sof .

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 byt

To rebuild the topology in soft.git:
./scripts/docker-run.sh ./scripts/build-soft.sh

An incremental sof.git build:
./scripts/docker-run.sh make

Or enter a shell:
./scripts/docker-run.sh bash