From 453c686fd12dbd36bda4f2b602167338ee97f6f3 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Fri, 26 Feb 2021 19:19:23 +0000 Subject: [PATCH] installer/README.md: no need to build manually anymore Doc update missing from the most recent pull request. Also warn against `make -jN stage rsync` Signed-off-by: Marc Herbert --- installer/README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/installer/README.md b/installer/README.md index ba1526e96..5819a4a80 100644 --- a/installer/README.md +++ b/installer/README.md @@ -2,8 +2,10 @@ The GNUmakefile in this directory prepares ``/lib/firmware/intel/sof/`` and ``/lib/firmware/intel/sof-tplg/`` directories. It extracts what's needed from the output of the scripts -``./scripts/xtensa-build-all.sh -a`` and ``./scripts/build-tools.sh --T -l``; running these scripts is a pre-requisite. +``./scripts/xtensa-build-all.sh`` and ``./scripts/build-tools.sh -T +-l``. It automatically runs these scripts when needed for the platforms +listed in config.mk and performs incremental builds when they have +already been run. It does not copy anything to ``/lib/firmware/`` directly but to local, "staging" subdirectory first. The staging area can then be installed with @@ -36,6 +38,11 @@ firmware, dictionaries and topologies. As usual with Make, it's possible to invoke individual targets. Find a list of targets at the top of GNUMakefile. +You can use `make -jN stage` to build multiple platforms faster but do +*not* `make -jN stage rsync` as this will start deploying before the +builds are all complete. That's because we want the rsync target to be +able to deploy subsets. Instead do: `make -jN somethings && make rsync`. + Sample output: staging/sof: symbolic link to sof-v1.6.1