sof/scripts
Marc Herbert 33f27d3477 xtensa-build-zephyr.py: speed up thanks to an _actually_ shallow clone
This will significantly speed up CI in some cases.

Fixes commit ffdf001eee ("xtensa-build-zephyr.py: clone zephyr with
--depth 5")

When I added --depth 5 to git clone in that commit I naively assumed git
fetch would "inherit" that. I think it does but only when fetching an
_existing_ (and shallow) branch, not when fetching something new.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2022-07-11 09:22:32 +01:00
..
cmake cmake: make sure sha1 is computed without filters 2022-06-16 20:17:27 +01:00
docker_build docker: dump git log to a file before deleting projects 2022-07-08 21:27:27 +01:00
kconfig
scan
README.docker
build-tools.sh test/topology: make tplg-build.sh callable from anywhere 2022-04-02 17:51:04 +01:00
checkpatch.pl checkpatch: update to Linux version v5.17 2022-05-13 09:58:49 +01:00
const_structs.checkpatch
docker-qemu.sh
docker-run.sh zephyr/docker-build.sh: match UID with 'adduser' instead of 'chgrp -R' 2022-04-26 22:08:53 +01:00
gen-doc.sh
host-testbench.sh
qemu-check.sh qemu-check: document magic values, better logging and err. handling 2021-07-26 09:17:46 +01:00
rebuild-testbench.sh
run-mocks.sh scripts/run-mocks.sh: major refactor 2021-07-26 09:19:50 +01:00
sof-post-commit-hook.sh check patch: allow C99 comments 2021-12-06 09:58:32 +00:00
sof-pre-commit-hook.sh
sof-target-install.sh
sof_fw.kb
spelling.txt
test-repro-build.sh Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
xtensa-build-all.sh scripts: add rembrandt support 2022-06-15 14:52:59 +01:00
xtensa-build-zephyr.py xtensa-build-zephyr.py: speed up thanks to an _actually_ shallow clone 2022-07-11 09:22:32 +01:00
xtensa-build-zephyr.sh platform: Move configuration from Zephyr to SOF 2022-03-18 16:14:19 +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