sof/scripts
Marc Herbert 60be65b567 check patch: allow C99 comments
This is a logical revert of eb45907

Based on recently merged #4941, C99 comments are now OK. I never found
any rationale or even written down coding style for excluding them in
the first place.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2021-12-06 09:58:32 +00:00
..
cmake version.cmake: fix message to show why source hash fails with Zephyr 2021-11-02 22:33:15 +00:00
docker_build docker: add renoir to docker build 2021-09-14 11:03:43 +01:00
kconfig license: use spdx identifier in python files 2019-06-02 16:38:17 +01:00
scan script: clang scan-build for xtensa 2020-03-04 11:02:56 +01:00
README.docker scripts: remove all soft related stuff 2019-01-10 15:10:10 +00:00
build-tools.sh fuzzer: add deprecation README.md 2021-05-24 15:27:18 -07:00
checkpatch.pl checkpatch: get default codespell dictionary path from package location 2021-11-11 17:09:30 +00:00
const_structs.checkpatch dai: supply caps and other info from within drivers 2019-05-03 03:14:43 -07:00
docker-qemu.sh license: use spdx identifier in shell scripts 2019-06-02 16:38:17 +01:00
docker-run.sh .github: run new test-repro-build.sh 2021-09-30 15:56:44 +01:00
gen-doc.sh gen-doc.sh: Use getopts for parsing arguments 2020-03-31 15:10:34 +01:00
host-build-all.sh host-build-all.sh: print deprecation warning 2020-09-01 10:42:56 +01:00
host-testbench.sh host-testbench.sh: update comment for testbench building 2020-11-09 22:08:30 +00:00
qemu-check.sh qemu-check: document magic values, better logging and err. handling 2021-07-26 09:17:46 +01:00
rebuild-testbench.sh scripts: replace "make" with "cmake --build" 2021-01-18 16:11:46 +00:00
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 license: use spdx identifier in shell scripts 2019-06-02 16:38:17 +01:00
sof-target-install.sh license: use spdx identifier in shell scripts 2019-06-02 16:38:17 +01:00
sof_fw.kb ci: klocwork: add example config file to avoid FPs 2019-02-22 12:16:05 +01:00
spelling.txt
test-repro-build.sh cmake: use new --erase_vars feature and test new 'reproducible.ri' 2021-10-21 13:59:46 +01:00
xtensa-build-all.sh cmake: add EXTRA_CFLAGS support 2021-09-30 15:56:44 +01:00
xtensa-build-zephyr.sh xtensa-build-zephyr: build ICL by default again 2021-11-25 09:59:56 +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