summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDavid Hendricks <david.hendricks@gmail.com>2020-07-16 09:47:39 -0700
committerDavid Hendricks <david.hendricks@gmail.com>2020-07-22 04:56:25 +0000
commit4cdc698707741f4542f8a5757b3c17e66f3dddd9 (patch)
treeb4e3003af18e40f60b7b5b7612d4fcdec35339e9 /Documentation
parentbc792af28e1b5a253519aa3441eb9a53e07beb79 (diff)
downloadcoreboot-4cdc698707741f4542f8a5757b3c17e66f3dddd9.tar.xz
Doc/tutorial/part1.md: Show how to list toolchain targets
Change-Id: I276ea0a6b52b55b8772c76f48f7a0fb149af6e78 Signed-off-by: David Hendricks <david.hendricks@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43518 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/tutorial/part1.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/Documentation/tutorial/part1.md b/Documentation/tutorial/part1.md
index 7e3da01572..e02812b68f 100644
--- a/Documentation/tutorial/part1.md
+++ b/Documentation/tutorial/part1.md
@@ -19,9 +19,21 @@ Download, configure, and build coreboot
$ cd coreboot
### Step 3 - Build the coreboot toolchain
-Please note that this can take a significant amount of time.
+Please note that this can take a significant amount of time. Use `CPUS=` to
+specify number of `make` jobs to run in parallel.
- $ make crossgcc-i386 CPUS=$(nproc)
+This will list toolchain options and supported architectures:
+
+ $ make help_toolchain
+
+Here are some examples:
+
+ $ make crossgcc-i386 CPUS=$(nproc) # build i386 toolchain
+ $ make crossgcc-aarch64 CPUS=$(nproc) # build Aarch64 toolchain
+ $ make crossgcc-riscv CPUS=$(nproc) # build RISC-V toolchain
+
+Note that the i386 toolchain is currently used for all x86 platforms, including
+x86_64.
Also note that you can possibly use your system toolchain, but the results are
not reproducible, and may have issues, so this is not recommended. See step 5