[bootlin/training-materials updates] master: kernel: building: Reword a bit the slide about make (3e23882a)
Miquel Raynal
miquel.raynal at bootlin.com
Thu Jun 2 10:54:21 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/3e23882afa4d41e62ed7a94832024e273448bd45
>---------------------------------------------------------------
commit 3e23882afa4d41e62ed7a94832024e273448bd45
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: Wed Jun 1 14:10:32 2022 +0200
kernel: building: Reword a bit the slide about make
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
>---------------------------------------------------------------
3e23882afa4d41e62ed7a94832024e273448bd45
slides/sysdev-kernel-building/sysdev-kernel-building.tex | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/slides/sysdev-kernel-building/sysdev-kernel-building.tex b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
index c2a395c3..dbf36794 100644
--- a/slides/sysdev-kernel-building/sysdev-kernel-building.tex
+++ b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
@@ -376,13 +376,11 @@ CONFIG_FAT_DEFAULT_CODEPAGE=437
\column{0.7\textwidth}
\code{make}
\begin{itemize}
- \item Run it in the main kernel source directory!
- \item Remember to run multiple jobs in parallel
- if you have multiple CPU cores / threads. Our advice:
- \code{ncpus * 2} or \code{ncpus + 2}, to fully load
- the CPU and I/Os at all times.\\
+ \item Only works from the top kernel source directory
+ \item Should not be performed as a priviledged user
+ \item Run several jobs in parallel. Our advice: \code{ncpus * 2} to
+ fully load the CPU and I/Os at all times.\\
Example: \code{make -j 8}
- \item No need to run as root!
\item To {\bf re}compile faster (7x according to some benchmarks),\\
use the \code{ccache} compiler cache:\\
\code{export CROSS_COMPILE="ccache arm-linux-"}
More information about the training-materials-updates
mailing list