[bootlin/training-materials updates] master: Embedded Linux: use output/host/bin instead of output/host/usr/bin/ (5a2d2b3c)
Michael Opdenacker
michael.opdenacker at bootlin.com
Fri Dec 10 08:45:37 CET 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/5a2d2b3ceb9d597936727ec483dd44db2d359d2e
>---------------------------------------------------------------
commit 5a2d2b3ceb9d597936727ec483dd44db2d359d2e
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Fri Dec 10 08:45:37 2021 +0100
Embedded Linux: use output/host/bin instead of output/host/usr/bin/
For simplicity and consistency with what's already done
in the debugging lab.
/output/host/usr is actually a link to /output/host
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
5a2d2b3ceb9d597936727ec483dd44db2d359d2e
.../sysdev-application-development.tex | 6 +++---
labs/sysdev-real-time/sysdev-real-time.tex | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/labs/sysdev-application-development/sysdev-application-development.tex b/labs/sysdev-application-development/sysdev-application-development.tex
index 2efe3e7a..80ee4b02 100644
--- a/labs/sysdev-application-development/sysdev-application-development.tex
+++ b/labs/sysdev-application-development/sysdev-application-development.tex
@@ -16,7 +16,7 @@ a target using the arrow keys of your keyboard. We will compile and
integrate this simple application to our Linux system.
Buildroot has generated toolchain wrappers in
-\code{output/host/usr/bin}, which make it easier to use the toolchain,
+\code{output/host/bin}, which make it easier to use the toolchain,
since these wrappers pass some mandatory flags (especially the
\code{--sysroot} {\em gcc} flag, which tells {\em gcc} where to look
for the headers and libraries).
@@ -24,7 +24,7 @@ for the headers and libraries).
Let's add this directory to our \code{PATH}:
\begin{bashinput}
-$ export PATH=$HOME/__SESSION_NAME__-labs/buildroot/buildroot-2021.08.X/output/host/usr/bin:$PATH
+$ export PATH=$HOME/__SESSION_NAME__-labs/buildroot/buildroot-2021.08.X/output/host/bin:$PATH
\end{bashinput}
\normalsize
@@ -37,7 +37,7 @@ normal, since we didn't tell the compiler to link with the necessary
libraries. So let's use \code{pkg-config} to query the {\em
pkg-config} database about the location of the header files and the
list of libraries needed to build an application against
-{\em ncurses}\footnote{Again, \code{output/host/usr/bin} has a special
+{\em ncurses}\footnote{Again, \code{output/host/bin} has a special
\code{pkg-config} that automatically knows where to look, so it
already knows the right paths to find \code{.pc} files and their
sysroot.}:
diff --git a/labs/sysdev-real-time/sysdev-real-time.tex b/labs/sysdev-real-time/sysdev-real-time.tex
index ef93b458..4ea7dff4 100644
--- a/labs/sysdev-real-time/sysdev-real-time.tex
+++ b/labs/sysdev-real-time/sysdev-real-time.tex
@@ -125,7 +125,7 @@ Let's configure our \code{PATH} to use this toolchain:
%\simall
\begin{bashinput}
-$ export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2021.02.X/output/host/usr/bin:$PATH
+$ export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2021.02.X/output/host/bin:$PATH
\end{bashinput}
\normalsize
@@ -265,7 +265,7 @@ the Xenomai user-space libraries. This can be done by using the
%\small
\begin{bashinput}
$ cd $HOME/__SESSION_NAME__-labs/realtime/nfsroot/root
-$ export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2021.02.X/output/host/usr/bin:$PATH
+$ export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2021.02.X/output/host/bin:$PATH
$ arm-linux-gnueabihf-gcc -o rttest rttest.c \
$(DESTDIR=../../buildroot-2021.02.X/output/staging/ \
../../buildroot-2021.02.X/output/staging/usr/bin/xeno-config \
More information about the training-materials-updates
mailing list