[FE training-materials-updates] labs/autotools-usage: ethtool doesn't display build/system types
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jun 2 03:46:43 CEST 2015
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=9c446a2da2f595ff1e1e61284c61ed5268086feb
>---------------------------------------------------------------
commit 9c446a2da2f595ff1e1e61284c61ed5268086feb
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Mon Jun 1 21:03:16 2015 +0200
labs/autotools-usage: ethtool doesn't display build/system types
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>---------------------------------------------------------------
9c446a2da2f595ff1e1e61284c61ed5268086feb
labs/autotools-usage/autotools-usage.tex | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/labs/autotools-usage/autotools-usage.tex b/labs/autotools-usage/autotools-usage.tex
index b481299..1052cd5 100644
--- a/labs/autotools-usage/autotools-usage.tex
+++ b/labs/autotools-usage/autotools-usage.tex
@@ -34,8 +34,7 @@ Read the output of \code{./configure --help}.
\section{First build}
-Run \code{./configure}, and look at the output. Especially check the
-{\em build} and {\em host} systems that are detected. Also look at the
+Run \code{./configure}, and look at the output. Also look at the
contents of the \code{config.log} file.
Then, run the build with \code{make}.
@@ -73,9 +72,8 @@ build if the source tree has been configured (which we did in the
previous section of this lab). So as suggested, clean up the {\em
ethtool} source tree by running \code{make distclean}.
-If you check the {\em build} and {\em host} system types, you can see
-that we're still doing native compilation. To cross-compile {\em
- ethtool}, we'll first have to install a cross-compiler:
+To cross-compile {\em ethtool}, we'll first have to install a
+cross-compiler:
\begin{verbatim}
apt-get install gcc-arm-linux-gnueabihf
@@ -87,9 +85,6 @@ Then you can do:
../ethtool-3.18/configure --host=arm-linux-gnueabihf
\end{verbatim}
-Check again the detected {\em build} and {\em host} system types. Now
-the {\em host} system type should be different!
-
Start the build, and verify that the cross-compiler is used.
\section{Overriding cache variables}
More information about the training-materials-updates
mailing list