[bootlin/training-materials updates] master: sysdev/kernel: building: Do not show export when explaining the env variables to set (ae77f906)
Miquel Raynal
miquel.raynal at bootlin.com
Fri Dec 23 15:39:27 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/ae77f90633f9b592ce3722a405b2f8f531c28fee
>---------------------------------------------------------------
commit ae77f90633f9b592ce3722a405b2f8f531c28fee
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: Fri Dec 23 15:39:27 2022 +0100
sysdev/kernel: building: Do not show export when explaining the env variables to set
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
>---------------------------------------------------------------
ae77f90633f9b592ce3722a405b2f8f531c28fee
slides/sysdev-kernel-building/sysdev-kernel-building.tex | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/slides/sysdev-kernel-building/sysdev-kernel-building.tex b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
index 5cccaa3c..e6002da7 100644
--- a/slides/sysdev-kernel-building/sysdev-kernel-building.tex
+++ b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
@@ -46,7 +46,7 @@
First, specify the architecture for the kernel to build
\begin{itemize}
\item Set \code{ARCH} to the name of a directory under \kdir{arch}:\\
- \code{export ARCH=arm}
+ \code{ARCH=arm} or \code{ARCH=arm64} or \code{ARCH=riscv}, etc
\item By default, the kernel build system assumes that the
kernel is configured and built for the host architecture
(\code{x86} in our case, native kernel compiling)
@@ -77,7 +77,7 @@
\begin{itemize}
\item Specify the prefix of your cross-compiler executable, for
example for \code{arm-linux-gnueabi-gcc}:\\
- \code{export CROSS_COMPILE=arm-linux-gnueabi-}
+ \code{CROSS_COMPILE=arm-linux-gnueabi-}
\end{itemize}
\end{itemize}
Set \code{LLVM} to \code{1} to compile your kernel with Clang.\\
More information about the training-materials-updates
mailing list