[bootlin/training-materials updates] master: debugging: labs: add CROSS_COMPILE export (78342adb)

Clément Léger clement.leger at bootlin.com
Wed Nov 16 12:26:03 CET 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/78342adbeddf93d1ca9d223412faf56e47b272c2

>---------------------------------------------------------------

commit 78342adbeddf93d1ca9d223412faf56e47b272c2
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Wed Nov 16 12:24:36 2022 +0100

    debugging: labs: add CROSS_COMPILE export
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


>---------------------------------------------------------------

78342adbeddf93d1ca9d223412faf56e47b272c2
 labs/debugging-setup/debugging-setup.tex | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/labs/debugging-setup/debugging-setup.tex b/labs/debugging-setup/debugging-setup.tex
index edd9e990..6e8c6c83 100644
--- a/labs/debugging-setup/debugging-setup.tex
+++ b/labs/debugging-setup/debugging-setup.tex
@@ -33,6 +33,17 @@ using this command:
 $ tar xvf images/rootfs.tar -C /home/<user>/debugging-labs/nfsroot
 \end{bashinput}
 
+We will also export the \code{CROSS_COMPILE} variable to set the toolchain as our
+cross compiling toolchain:
+
+\begin{bashinput}
+$ export CROSS_COMPILE=/home/<user>/debugging-labs/buildroot/host/bin/arm-linux-
+\end{bashinput}
+
+This export needs to be either done in each shell in which \code{CROSS_COMPILE} is
+going to be used or added to your shell configuration (\code{.bashrc} for
+instance)
+
 \input{../common/stm32-prepare.tex}
 
 \section{Set up the Ethernet communication on the workstation}




More information about the training-materials-updates mailing list